A Galerkin BEM for high-frequency scattering problems based on frequency dependent changes of variables