PIVX, Possibly Other PoS Chains Vulnerable to Bug, Attackers Profit