tests: Silence some more -Wdeprecated-declarations warnings. * tests/test-execute-child.c: Silence warning about sprintf. * tests/test-fstatat.c: Silence warnings about statat and lstatat. * tests/test-statat.c: Add comment.