make the avalon3 compatible with cgminer/avalon2