XCore target: Add TypeString meta data to IR output.

This includes the addition of the virtual function:
	TargetCodeGenInfo::EmitTargetMD()
XCore target: fix handling of -g0 flag
XCore target: fix bug in dereferencing null pointer.

Also add basic cpp ABI tests where they differ from C ABI output.