Update bfgminer to 3.1.2