Gravitational microlensing of γ-ray blazars