[flang][driver] Fine-tune -fdebug-dump-symbols
When generating output for -fdebug-dump-symbols, make sure that
BuildRuntimeDerivedTypeTables is also run. This change is needed in
order to make the implementation of -fdebug-dump-symbols in
flang-new consistent with f18. It also allows us to port more tests
to use the new driver whenever it is enabled.
Differential Revision: https://reviews.llvm.org/D100649