hevc/intra_pred: drop unnecessary conditions in loops