GCC-10 compiler fix for error when JVET_R0351_HIGH_BIT_DEPTH_ENABLED is enabled
Fixes compiler errors generated by GCC-10+ when JVET_R0351_HIGH_BIT_DEPTH_ENABLED is set to 1. Errors are false detections which have been removed by adding CHECK statements for the appropriate variables.