array: Use greedy_realloc to ensure alignment and speed

Signed-off-by: Michael Ikey Doherty <michael.i.doherty@intel.com>