QT-DoG: Quantization-aware Training for Domain Generalization