Convert DELETE_X macros into functions

This resolves https://github.com/leethomason/tinyxml2/issues/203
Shouldn't this be `nullptr` instead of `0` or simply `if (!node)`?