Wavelet regression with correlated errors on a piecewise Hölder class