[PATCH 6.6 186/676] libbpf: Fix expected_attach_type set handling in program load callback