Planck-scale physics and the Peccei-Quinn mechanism