demux: heif: fix broken mime case handling