vold_decrypt: only include patch_level functions with libresetprop

The functions use the Property_Override function from libresetprop,
so don't include if libresetprop isn't included in build

Change-Id: I5eb210f17fea908ec35cb223e4a55066419f55dc
diff --git a/crypto/vold_decrypt/vold_decrypt.cpp b/crypto/vold_decrypt/vold_decrypt.cpp
index 4a76405..2a0e1fb 100755
--- a/crypto/vold_decrypt/vold_decrypt.cpp
+++ b/crypto/vold_decrypt/vold_decrypt.cpp
@@ -780,6 +780,7 @@
 	property_set("vendor.sys.listeners.registered", "false");
 }
 
+#ifdef TW_INCLUDE_LIBRESETPROP // Patch_Level_Overrides
 void Update_Patch_Level(void) {
 	// On Oreo and above, keymaster requires Android version & patch level to match installed system
 	string sdkverstr = TWFunc::System_Property_Get("ro.build.version.sdk");
@@ -901,6 +902,7 @@
 		return;
 	}
 }
+#endif // Patch_Level_Overrides
 
 static unsigned int get_blkdev_size(int fd) {
 	unsigned long nr_sec;