[PATCH 3/5] ALSA: core: Abstract memory alloc helpers