Fix: `_find()` functions shouldn't modify parameters, make them const

Because of this I'm having a hard time implementing `r_set_contains()`
(for example).