Remove shared method bit if a method is getting JIT compiled.

The entrypoint will be updated and therefore the memory will be dirty.
This is needed for when we fast compile and we generate code that
increments the hotness of the ArtMethod.

Test: test.py
Bug: 477896909
Flag: com.android.art.flags.fast_baseline_compiler
Change-Id: Ie346e4bd9074844d35ad37153e5f6281664b4abe
3 files changed