kqwait: removed `version.h` patch that is no longer necessary and cleaned up code