[PATCH OLK-6.6 238/525] media: venus: hfi: add checks to perform sanity on queue pointers