Merge "hal: check offload_callback not NULL before calling"