Thermodynamics of a class of regular black holes with a generalized uncertainty principle