Fix typo in variable name in Windows g_open() implementation.