fix inotifytools_next_events timeout == 0 keep blocking bug

the api say if timeout == 0, will non-block

i use it this way, find this problem, fix it simple.