Gravitational divergences as a mediator of supersymmetry breaking