Hide potentially sensitive ActiveJob params from logs

* Show GlobalID instead of full object .inspect output
Only filter GIDable objects; remove cosmetic changes
Use try instead of checking for GlobalID::Identification
Inline to_global_id conversion
Merge pull request #17817 from aripollak/hide-activejob-args

GlobalID objects are logged by their URI, not #inspect on the object, to prevent logging private data