uri: fix strnchr
uri: fix strnchr

The implementation returned a pointer to the char following the matching
char, contrary to the function's documentation.  This happened to work
because all uses of strnchr use the result only as found/not-found.

pabigot/libcoap,pabigot/libcoap,pabigot/libcoap