Only prevent boot image downgrade if sysprop set.

Only return timestamp error if ro.build.ab_update.gki.prevent_downgrade_version is set.
Otherwise, log warning message and continue the update.

This allows devices that does not support GKI updates to install OTA packages where
the boot image has a lower version than the existing, which is supported before.

Bug: 162623577
Test: apply OTA on devices with and without sysprop set
Change-Id: Ie98fb49ffaae1aa60fc94766f53a6fbbae519a5b
diff --git a/Android.bp b/Android.bp
index 6585ea2..193928b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -260,6 +260,7 @@
     ],
 
     static_libs: [
+        "gkiprops",
         "libkver",
         "libpayload_consumer",
         "libupdate_engine_boot_control",
@@ -383,6 +384,7 @@
         // We add the static versions of the shared libraries that are not installed to
         // recovery image due to size concerns. Need to include all the static library
         // dependencies of these static libraries.
+        "gkiprops",
         "libevent",
         "libmodpb64",
         "libgtest_prod",