Initialize Resource::mRefCount

Hit the assertion in Resource::decRef because of mRefCount being 0, and
I hope this was the reason.