configure: Fix mingw check for getenv.
* configure.ac: have_thread_safe_getenv=yes with have_w32_system.
We want to define this for both 32 and 64 bit targets if
we use mingw. have_w32_system is defined for both targets.
- Signed-off-by: Andre Heinecke <aheinecke@intevation.de>