change stratum endianess for nonce2

This change adapts the stratum behaviour of cpuminer and makes the miner compatible to the standard p2pool code with minimal changes of the pool's code