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

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

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