Handle NULL in sdb_atoi()