Fixed bug with coinbase timestamp

Sometimes coinbase timestamp was newer than block timestamp which caused rejected blocks.