Put back FreeAllMethodHeaders under the JIT lock.

Mistake from previous CL r.android.com/3051983, the code should be
guarded by the JIT lock as it's deleting memory concurrently to
allocations.

Test: test.py
Change-Id: I008edc5a17d2ad31dd7a95c3097d84b80bd815c4
2 files changed