Fix YUV encoding/decoding used for HEVC testing. Thanks to Frank Bossen. This resolves the 'HEVC-tecnick-034 situation'.