[PATCH 6.0 16/17] bpf: Fix resetting logic for unreferenced kptrs