[PATCH 6.4 180/227] bpf: Fix subprog idx logic in check_max_stack_depth