Temperature dependent gravitational constant and black hole physics