Move the REF_PRINT support from e_os.h to internal/refcount.h.