Thermodynamics of N = 4 supersymmetric Yang-Mills theory using direct resummation and effective field theory methods