Trigger on-device AOT compilation for system_server on mainline update.

Before this change, AOT compilation for system_server are triggered only
on ART mainline update, and only the system_server components in /system are compiled.

After this change, AOT compilation for system_server are triggered on
any mainline update that touches $BOOTCLASSPATH or
$SYSTEMSERVERCLASSPATH, and the system_server components in mainline
modules are also compiled.

Test: manual - 1. Modify a mainline module (such as com.android.wifi).
    2. Install the modified module on a device and reboot the device.
    3. See if system_server components are recompiled (while boot
    classpath components are not).
Test: atest odsign_e2e_tests
Test: art/tools/run-gtests.sh -j8 apex/com.android.art/bin/art/x86_64/art_libartbase_tests
Test: atest art_odrefresh_tests
Bug: 189467174
Change-Id: Icaba5471e9f62fd035f0a24d662ecfaf2e064cab
8 files changed