CC - Fix null pointer exception. Handle the case when the column value is NULL, for column type TEXT and BLOB.

For more information, see:
http://www.sqlite.org/c3ref/column_blob.html