Thermodynamics for higher dimensional rotating black holes with variable Newton constant