avcodec/utvideodec: Add several out of array read related checks