miner: indentation fixes, remove for (;;)

- change a for (;;) into while (true), as we nowhere else use the first
- init nNonceFound to 0
- fix indentation in BitcoinMiner try/catch block
Merge pull request #4169

0655fac miner: indentation fixes, remove for (;;) (Philip Kaufmann)