refcounting: add RCPtr like std::shared_ptr (but not thread-safe)