[gc] add trace_pmc_flags_dump

and use it within trace_pmc_dump and #1108, coro in wrong gen