[PATCH 4.18 051/197] scripts: modpost: check memory allocation results