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

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

Change-Id: I7686ec7b963dcca16e8875986f2578ba585d134a
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