Pair production in strong time-depending magnetic field: The effect of a strong gravitational field