[PATCH OLK-6.6 453/525] media: venus: hfi: add checks to handle capabilities from firmware