Generators of Symmetry Transformations for Constrained Hamiltonian Systems