Tools/MeshExtractor: Define the DT_POLYREF64 macro for RecastNavigation and fixed a possible crash.