uriparserext: fix bug that `last` function may not return.

lib/liburiparser/uriparserext.c:27:1: warning: control may reach end of non-void function