[PATCH 6.6 456/530] media: venus: hfi_parser: Add check to keep the number of codecs within range