Add move constructor to ref_ptr