Move constructors for ref_ptrs and tamer::fd.