Port fix for crash creating debug info for nameless types from mainline.