[NaCl SDK] Fix memory leaks in nacl_io_test.

These are all the leaks found by running valgrind on the
linux host build.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/74643002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236007 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 236007
Revert 236006 "Revert 236005 "Fixing Chromeos build.""

> Revert 236005 "Fixing Chromeos build."
> 
> > Fixing Chromeos build.
> > 
> > TBR=jochen
> > 
> > BUG=318120
> > 
> > Review URL: https://codereview.chromium.org/64953006
> 
> TBR=finnur@chromium.org
> 
> Review URL: https://codereview.chromium.org/73733006

TBR=finnur@chromium.org

Review URL: https://codereview.chromium.org/66313009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236008 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 236008