Add virtual dtor to RefCount base class.

The code generated for types w/ &refcount will subclass RefCount and
Unref definitely deletes via a pointer to that base class so it needs a
virtual dtor.
Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  Add virtual dtor to RefCount base class.