Pass the real capacity to CreateRosAlloc.

Bug: 18808732
Change-Id: Id563eb22e8d571c0ef032628b6ba2f3d357fd002
Merge "Pass the real capacity to CreateRosAlloc."