Update rpcmining.cpp

Add nHeight parameter to GetProofOfWorkReward() calls. Extracted nHeight from RPC