[PATCH 6.1 195/197] bpf: Do cleanup in bpf_bprintf_cleanup only when needed