Planck intermediate results: L. Evidence of spatial variation of the polarized thermal dust spectral energy distribution and implications for CMB B-mode analysis