Thermal expansion of a glassy alloy studied using a real-space pair distribution function