scripts/gen-cdefs.sh: adapt to changes in new gdb

Now it works again with the latest gdb-9.1.
As a side effect, some simplification was possible, so that some
typedefs are newly defined at once with the underlying type.
25 jobs for new-gdb
in 56 minutes and 33 seconds and was queued for 2 seconds