Fix ZTS build
Port ext/gmp (one failure)
Sync zend_is_true with convert_to_boolean (fixes GMP test)