Move definition of NanDispose before NanUnsafePersistent.

So we can just use NanDispose to implement NanUnsafePersistent.Dispose.