Pass Windows interrupt event to kernels as an environment variable

This allows third party kernels to use our interrupt mechanism on Windows.

Closes gh-5840