Replace is-board-platform[-in-list] with is-board-platform[-in-list[2] am: a17f2d2c86 am: c614c5fcc8 am: e1decd362f

Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/sdm845/display/+/1872254

Change-Id: Id2ab08e5adf9844ab7aeed302c217e6538b03fdc
diff --git a/common.mk b/common.mk
index fb4774a..83c4f1c 100644
--- a/common.mk
+++ b/common.mk
@@ -41,7 +41,7 @@
     common_flags += -D__ARM_HAVE_NEON
 endif
 
-ifeq ($(call is-board-platform-in-list, $(MASTER_SIDE_CP_TARGET_LIST)), true)
+ifneq (,$(call is-board-platform-in-list2, $(MASTER_SIDE_CP_TARGET_LIST)))
     common_flags += -DMASTER_SIDE_CP
 endif