Issue 9998 - Use a workaround to make RefCounted pure.

https://issues.dlang.org/show_bug.cgi?id=9998

This isn't exactly the nicest solution but I'm not sure what other workaround we have now.

Pinging @monarchdodra.