build: Convert alsa detection to new macros.