find_device_from_devnode was guarded by HAVE_SYS_INOTIFY_H, alas its use in process_monitor_event was not, so linking failed.
On the way reduce the scope of a variable (which makes sense per se and avoids introducing a compiler warning with this change).
-- v3: winebus.sys: Fix the build without HAVE_SYS_INOTIFY_H