avoid storing ints in void* in mainloop event data
The pubsub patch (legacy/trac#28226 (moved)) introduces another case of storing integers in a void *
. This time it's in a mainloop event. Similar to legacy/trac#23714 (moved), one way we can fix this is using a union.