CMake: Do not use general Werror it is hard to get right with gcc.
io: Add assertions for comedi functions and fix reset bit in driver.