Coupling constant dependence in the thermodynamics of N = 4 supersymmetric Yang-Mills theory