The Gauss-Bonnet-Grotemeyer Theorem in space forms