winpthreads: Check GetModuleHandle return value before calling GetProcAddress In Windows Store builds with the winstorecompat library, GetModuleHandle returns null, and GetProcAddress is not documented to allow passing null. Signed-off-by: Martin Storsjö <martin@martin.st>