v.19.5Build/Testing/Packaging Improvement

Disable Usage of Mremap When Compiled with Thread Sanitizer

Disable usage of mremap when compiled with Thread Sanitizer. Surprisingly enough, TSan does not intercept mremap (though it does intercept mmap, munmap) that leads to false positives. Fixed TSan report in stateful tests. #4859 (alexey-milovidov)