Gravitational singularities via acceleration: The case of the Schwarzschild solution and Bach's gamma metric