Cpr slice type
use isIRAP() to replace isIntra() to evaluate I_Slice and P_Slice where CPR is the only reference picture. Cleanup previous CPR slice type judgement using isIRAP() as well. Fix potential slice type related bugs in rate control and the composite reference picture