Use y_int_strlen() where needed.

This gets rid of various bits of uglyness.