[pvr.tvh] change WaitForState to use CCondition