Fix null deref when walking cert chain.

BUG=109664
TEST=N/A
Review URL: http://codereview.chromium.org/9150013

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