Elide empty compile_units from tdumpdstr et al

This makes tests more reliable across platforms.