Merge "hal: Check NULL pointer" into audio-hal.lnx.4.0