nmtst: fix memleak when using NMTST_VARIANT_DROP_SETTING()