ialidzhikov: Automated cherry pick of #99755: fix RemoveStatusCondition() cap out of range

JobBuild
100301
08-18 00:46
5ddfe49e
08-18 00:45
pull-kubernetes-bazel-build 1427793638200446976
pull-kubernetes-bazel-test 1427793638238195712
pull-kubernetes-dependencies 1427793638263361536
pull-kubernetes-e2e-gce-100-performance 1427793638158503936
pull-kubernetes-e2e-gce-ubuntu-containerd 1427860612674752512 1427793638091395072
pull-kubernetes-e2e-kind 1427793638343053312
pull-kubernetes-integration 1427793638305304576
pull-kubernetes-node-e2e 1427793638116560896
pull-kubernetes-typecheck 1427793638376607744
pull-kubernetes-verify 1427793638405967872