Add comparison operator for nut::Device class.

Make std::set<nut::Device> work and not dropping devices anymore.