Stratum: Fix nonce2 sizes greater than 4 and (on big-endian) smaller than 4