JS: recompilation avoidance doesn't always work for TH
The JS interpreter introduce in !9779 (closed) maintains its own link state (it doesn't use object/library granularity as the native linked, but a "block" granularity).
As such it doesn't use/update LoaderState
at all, breaking the recompilation avoidance check for TH.
Fixing the impedance mismatch will require some refactoring, that's why it hasn't been done in the inital MR !9779 (closed) adding TH support.
Failing tests that have been disabled:
- recomp009
- recompTH
- T20604
- th-new-test
Related to #20604 (closed)