Fix jmp backpatch logic when there is an opened prolog