Fix invalid read in ppapi code

BUG=77493
TEST=attached test

Review URL: http://codereview.chromium.org/6883059

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82172 0039d316-1c4b-4281-b951-d872f2087c98