Move more hardware checking codes into isHardwareLoopProfitable():
1: a more accurate result about hardware loop converting for target hook canSaveCmp() (Currently only used in PowerPC)
2: counter NumHWLoops is also more accurate.
This is a NFC patch.
Looks like this logic can be simplified now as UseLoopGuard is only ever equal to ForceGuardLoopEntry.