[PATCH 5.14 493/849] bpftool: Avoid leaking the JSON writer prepared for program metadata