[PATCH 6.12 219/826] libbpf: Fix expected_attach_type set handling in program load callback