Adjust PackedArray allocation policy

Summary: Try growing a packed array in place before reallocating memory, by taking advantage of the request-local memory manager allocation policy.
Maximize the initial capacity in emitNewArray if the capacity is within a threshold.

Reviewed By: @jasone

Differential Revision: D1601707