Ab initio study of the strain dependent thermodynamics of Bi doping in GaAs