[os_xml] remove unused and obsolete debug code