Deformations of compact quantum groups via Rieffel's quantization