Merge "hal: Fix NULL dereferences in audio hal utils"