Ticket #5203: Don't crash when checking buffer overrun for invalid code.

Hi,

This patch fixes ticket #5203 by ensuring that we're not "going backwards" via linkAt(1)->linkAt(1) in bailoutIfSwitch. Thanks to consider merging.

Best regards,
  Simon