Merge "hal: audio_extn: add proper check to append null terminator"