plugins/router_hash: Avoid possible divide by zero

Reported by Coverity as CID #1100804.
plugins/rpc_plugin: check return value of uwsgi_response_prepare_headers

Reported by Coverity as CID #1100798.
Merge pull request #468 from xrmx/coverity2911

Coverity Fixes