hevc: remove copy when possible in sao