Count switch as branch.

Rationale:
Builder heuristics bail for method without branches. A method with a
switch should not be discarded that easily.

Boot size delta (oat files, sailfish arm64): + 16488 bytes

Test: test-art-host,target
Bug: b/77652521

(cherry picked from commit d99f203eab7eb310f8326f2739fdf44cd0025679)

Change-Id: Ib29482a0b7f9641fd840afd8cd40981246babaf5
1 file changed