[PATCH 4/4] venus: hfi_parser: Add check to keep the number of codecs within range