MFC remainder of r249802 (eadler) to fix build:

- sl_find does not modify 'name'
- make the prototype of sl_find match NetBSD