test/ct_test.c: Add the missing check after calling sk_SCT_new_null