ioengines: improve "is this the same IO engine" check