Convert DELETE_X macros into functions

This resolves https://github.com/leethomason/tinyxml2/issues/203