[PATCH 6.5 423/491] media: venus: hfi_parser: Add check to keep the number of codecs within range