Entropic effect on the rate of dislocation nucleation