alsa: fix platform detection for m7 devices