Thermal fluctuations and quantum phase transition in antiferromagnetic Bose-Einstein condensates