sys_wait-h tests: Check that WCOREDUMP is defined. * tests/test-sys_wait-h.h (test_sys_wait_macros): Check that WCOREDUMP is defined and can be used.