Factor out a helper function.  No functional change.

* build/generator/gen_base.py
  (GeneratorBase.write_errno_table.write_struct): New helper function.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1488101 13f79535-47bb-0310-9956-ffa450edef68