The automorphism groups of almost contact Riemannian manifolds