Fix x86/eventinj.c test compilation on 32bit

Tested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>