Add NULL check to cass_value_get_*

CPP-165