rts: stats: correctly account for gc cpu time
Solves #19147 (closed). When n_capabilities > 1 we were not correctly accounting for gc time for sequential collections. In this case par_n_gcthreads == 1, however it is not guaranteed that the single gc thread is capability 0.