[jit] Avoid taking the loader lock in mono_jit_compile_method_inner (), it shouldn't be needed any more.
[jit] Reorganize the locking in mono_jit_compile_method_inner, the domain lock already makes the code lookup+insert atomic, no need to do more work inside the jit code hash lock. Also lock jit_code_hash in mono_jit_free_method ().