eal/windows: check callback parameter of alarm functions