Fix HdrCapabilities flattening

Modify vector reserve() to resize() to allocate and initialize the
updated vector

Bug: 64309771
Test: n/a
Change-Id: I76fd088493327b00cca39ef67e2362e4c79314be
1 file changed