[ARM] eliminate NULL test and memset after alloc_bootmem