coverity/68215: removed failed variable + dead code from f_readfile #860
MsgPack-RPC dispatch based on function array lookup

This simplifies the generated msgpack_rpc_dispatch() function, separates the
code for each RPC method more clearly and allows easy implementation of
alternative dispatching methods (e.g. string method id dispatch).