tests: Close the fd in test_assert_macros_fail.

This is not really necessary but it fixes Coverity.

CID #1146810
1 file changed