events: Disable all the signal-handling code on platforms without support. So on Windows, for example, this mostly becomes a few empty functions.