A 5.5/2.5 mm DC jack is partially metal, like the GX12.
Assuming you're using the 3rd connector for ground, then you should be safe, no? Maybe one of the electrical engineers among us can comment. I personally like your idea better than a C8, since it provides a ground.
The reason against metal casing is the possibility of shorting the contact
inside the socket
to its own
outer casing
with its own
plug, which is often the case with some barrell jacks.
These barrel jacks inlet does have plastic casing, but their plug's outer is metal, and you'll find yourself shorting the contacts inside the plug just by inserting it at an angle.
Now aviation connectors like GX-12, mitigates this issue by having a plastic plug so they are miles better than barrel jacks.
But their metal casing is also a problem point if one puts a metal object inside the socket - not that IEC connectors are safe from this (duh) - that it can short them a bit easier than IEC's since a casing obviously have more surface area.