Unraveling Thermodynamic Stability, Catalytic Activity, and Electronic Structure of [TMxMgyOz]+/0/– Clusters at Realistic Conditions: A Hybrid DFT and ab Initio Thermodynamics Study