Effect of thermal diffuse scattering in triple-crystal diffractometry with high-energy synchrotron radiation