Fix Windows logging

Fix https://github.com/hrydgard/ppsspp/issues/4239