Effects of the temperature dependence of the in-medium nucleon mass on core-collapse supernovae