uEye Event thread: Error fixing.

Fixed some compilation errors.