bug fixed in encode_end_of_cu. First InterPrediction version