[PATCH 6.1 129/183] bpf: Fix subprog idx logic in check_max_stack_depth