[PATCH 6.12 109/184] memblock: Accept allocated memory before use in memblock_double_array()