fix scan-order used for last-significant-coeff