FIX #1611: use pic->reconstructed and pic->layerId for computing HashME condition
requested to merge furban/VVCSoftware_VTM:check_refpic_layer_for_hashME_condition_computation into master
use pic->reconstructed and pic->layerId for computing HashME condition this avoids segmentation fault in multi-layer encoding (#1611) This should not affect CTC. There is a loop on the picture list where layer is not checked. It may be cleaner to use a loop on the reference lists and check layers.