getblockhash: throw JSONRPCError (not runtime_error)