hevc: implement pic_output_flag handling