Use recommended way to register constant

Actually, not it's zval_gc_info, not only zval