Convert DELETE_X macros into functions

This resolves https://github.com/leethomason/tinyxml2/issues/203
Doesn't matter in C++. `0` can be used to mean a null pointer.