Fix perf-inject jit profiling for osr method.

When OSR jit compilation is triggered, the jit compiler should log osr compiled
method address for perf.

Test: Compile.
Test: Verified perf-PID.map and jit-PID.dump files generated by ART JIT with -g option.

Change-Id: I66ca62c65ee84067aeaf551be05911def78f9aaf
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc
index 148ce4f..88bdb0d 100644
--- a/compiler/jit/jit_compiler.cc
+++ b/compiler/jit/jit_compiler.cc
@@ -211,7 +211,7 @@
     JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache();
     success = compiler_driver_->GetCompiler()->JitCompile(self, code_cache, method, osr);
     if (success && (jit_logger_ != nullptr)) {
-      jit_logger_->WriteLog(code_cache, method);
+      jit_logger_->WriteLog(code_cache, method, osr);
     }
   }