The masses of central supermassive black holes and the variability time-scales in gamma-ray loud blazars