[sgen] Fix debug output for descriptor types.