Function retainObj

Retains a single object.

T retainObj(T) (
  T obj
)
if (isAtomicRefCounted!T);