alsa: fix platform detection for m7 devices

Change-Id: I4e6a884f5905d53acd85cf4a8386f8374e99266e