nsswitch: Fix memory leak in test_wbc_trusts()