audio: hal: Fixing compilation errors

Fixed type cast errors.

CRs-Fixed: 2106059

Change-Id: Iee7c2a176d1d928f7d0672fcb2363385ce553de9
3 files changed