[z2525] Restore mmap extractor build with CMake by adding preprocessor

Thanks to @Cyberium

(based on commit [12724] - a934f45)

(based on commit [s2167] - 4c008cd)
[z2526] Add all missing DT_POLIREF64 preprocessors
Merge https://github.com/cmangos/mangos-classic