configure: Fixed the check for sigset_t on mingw.