mmdevice: avoid incorrect assertion