ASACORE-1074: WSL needs to check for status and for a valid pointer in many places

Change-Id: I45e402d3633d335bc846c619b400ce601cfd0fb0
Signed-off-by: James Prestwood <jprestwo@qce.qualcomm.com>