Diameter dependent heating in GaAs nanowires