TS-2291: Disable remap_stats plugin compile on platforms that do
not have a reentrant hsearch implementation

This means this plugin will not build on FreeBSD or OmniOS.