Primecoin: Fix compilation issue since 5789d98b
Primecoin: Fix miner performance issue with large block size
           Miner create new block at most once every 10 seconds