Fix missing doc field in generated snapshot/idl files, which is caused by multi-threaded generation.

RB=230550
R=mtagle,gogenc,jbetz,kparikh,si-dev
A=gogenc