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

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

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