[PATCH 3.18 22/45] kernel/exit.c: avoid undefined behaviour when calling wait4()