Installd: Add selinux check

Add a check whether the device is enforcing selinux.

Bug: 118818285
Test: atest installd_dexopt_test
Change-Id: Icefbe04e45af8abad984ad6796f5c84c22f4c95e
1 file changed