remove unneeded cast in rpcmisc.cpp
Merge pull request #4882

faadbe1 remove unneeded cast in rpcmisc.cpp (Philip Kaufmann)