JIT: fix valid_block marking

This caused invalidations that only affected the last portion of a JIT block
to fail, breaking Wii64's block linking. It might affect a bunch of other
games too; I haven't tested.
Merge pull request #1487 from FioraAeterna/fixinvalidate

JIT: fix valid_block marking