[lib] cleanup some compiler warning

no functional change in fact.

   - lib/searpc-client.c:353:1: warning: control reaches end of non-void function [-Wreturn-type]
   - lib/searpc-utils.c:93:13: warning: enumeration value 'JSON_ARRAY' not handled in switch [-Wswitch]