hal: add checks for calibration buffer allocation failures

add check for calibration buffer allocations failures and
enhance debug messages in the calibration update funtions.

Change-Id: I08c48f57c4fe747af8c19d12c986a5b9279bca03
1 file changed