hevc: remove av_dlog and av_log when not necessary