[PATCH 5.15 53/78] bpf: Fix subprog idx logic in check_max_stack_depth