zygote/dex2oat: Grant additional symlink permissions

* zygote needs to be able to symlink from dalvik cache to system
  to avoid having to copy boot.oat
  (when the boot.oat file was built with --compile-pic)
* dex2oat needs to be able to read the symlink in the dalvik cache
  (the one that zygote creates)

(cherry-picked from AOSP master
83c5612e69fa05610baf4f4d237fe0995a79cde5)

Bug: 18035729

(cherry picked from commit f7ccfd003c07cf14159740748ab8aedfdeebc6b8)

Change-Id: I5dca27241f46f481515b96e968fb2bef7866c89b
2 files changed