Parallelize classfile writing in genasm.

This is not urgent. Scheduled for 2.11.1-RC1, but I needed a break from release hacking.

Review by @retronym, @viktorklang /cc @dragos.