Fix extranonce2 size bug

This is a cherry-picked commit, fix cgminer to work with stratum proxies, who changes the extranonce2 size