Convert dis, profiler, pedump, unit-tests to new MonoError/ERROR_DECL style. (#6607)