The Complex Bonding of Titanium Nitride Layers in C/Mg Composites Revealed by ELNES Features