[PATCH 5.10 172/193] media: venus: hfi_parser: Add check to keep the number of codecs within range