getblockhash: throw JSONRPCError (not runtime_error)
Merge pull request #5134

6261e6e getblockhash: throw JSONRPCError (not runtime_error) (dexX7)