bunsan_protobuf_generate_cpp() refactoring.