core: Fix assuan logger-fd hack for windows