Core/Units: Don't set new power type if old power type is the same

ref.: https://github.com/TrinityCore/TrinityCore/pull/11910