Fix circular array capacity allocation

Integer.highestOneBit() returns the actual highest bit, not the position
of the highest bit.

Bug: 27209957
Change-Id: Ic88b3881f966ba2f764f7a9a5ef36f47b08f9977
2 files changed