add output of network difficulty to NOTICE stream

update set_blockdiff to get the right uint32_t from the data array and
then from there, the remainder of the code from YACMiner already worked.