Fix large count and negative constant count handling in PPCCTRLoops