fix block ordering for osr compiles

the default reverse post-order is computed assuming methods
are entered at the top (bci=0). when we do an osr compile we
jump into the middle of a method though, so we will need
to process basic blocks in a different order. this commit
is a tentative fix.