pgbench: Silence compiler warning

Explicitly ignore return value from write(), to silence warning.  This
warning only appeared under --disable-thread-safety.
Fix include-guard

Looks like a cut/paste error in the original addition of the file.

Andres Freund