Andy Murray's brother Jamie needed treatment for heatstroke after he and partner John Peers won their doubles match in temperatures rising above 43 Celsius.