Generalized total angular momentum operator for the Dirac equation in curved space-time