Update gc_ptr

Add an operator != and == for long int