RPC: Remove 'getwork' deprecated mining protocol

Use getblocktemplate instead.