[PATCH 5.15 3/4] bpf: Do cleanup in bpf_bprintf_cleanup only when needed