Handle shift by 32 explicitly.

Looks like it worked before due to undefined behavior always returning
0. But not anymore.

Test: 836-32768classes
Bug: 220821265
Change-Id: Iaaefc0d3237cf3b6bf50798097b98a8004089d7c
6 files changed