Assembly has no type information, but with -g the GNU assembler still
describes functions in DWARF. A function with a .size gets a
DW_TAG_subprogram of DW_TAG_unspecified_type, and a file whose
functions have no .size gets a compile unit with no DIEs. ctfconvert
can handle neither, so it fails on assembly objects built with gcc.
Skip compile units whose language is DW_LANG_Mips_Assembler, the code
both GNU as and LLVM use for assembly on every architecture, producing
the same empty CTF that clang-built assembly objects already get.
Fixes: e959f2a7d8a8 ("ctf*: exit with error upon terminate()")
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>