Fix stack usage might be unbounded warning in core/test/run-mem_region_init

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>