legacy/alsa_sound: fix aliasing Werror

Change-Id: Iae1a25c17565e1788264faf379c45365e6b032fa