Don't force-allocate a profiling info when we cannot.

Shared memory cannot allocate profiling infos.

Test: art/test/run-test --always-clean --dex2oat-jobs 4 --host --prebuild --compact-dex-level fast --jit --runtime-option -Xjitthreshold:0 --no-relocate --runtime-option -Xcheck:jni 689-zygote-jit-deopt
Change-Id: Ib09b9989fb398a12af29501e72b9acd22c3e51ec
1 file changed