-Warray-bounds: Fix false positive in some "switch" stmts (PR tree-optimization/83510)