Coverity: 715198. Removed redundant goto fail() stanzas.
When using the '-ansi' flag with gcc, netcdf would fail to build because of the use of '//' for one-line comments.  I've addressed this by replacing instances of // with enclosing comment blocks.