Fix an NPE when working with arrays containing nulls as elements.

git-svn-id: http://kryo.googlecode.com/svn/trunk@392 a9660ef0-a895-11de-8ba5-91705c1537ed