Build: Align PSA API test compile definitions

There are two compile definitions for PSA API IPC test
- TEST_PSA_API_IPC
- PSA_API_TEST_IPC

The first one is newly added, probably to align with the Kconfig
option.
Whilst they are two different things.
The old compile definition (the second one) should be used to avoid
duplication.

This patch addresses this issue.
Meanwhile align the crypto one with IPC as well.

Change-Id: I10a09f8a49a725de086f73c5f765a54152e4bb89
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
diff --git a/config/tests/config_test_psa_api.h b/config/tests/config_test_psa_api.h
index 7af36f1..b4fd694 100644
--- a/config/tests/config_test_psa_api.h
+++ b/config/tests/config_test_psa_api.h
@@ -109,7 +109,7 @@
 #define ITS_VALIDATE_METADATA_FROM_FLASH       1
 
 /* The maximum asset size to be stored in the Internal Trusted Storage */
-#ifdef TEST_PSA_API_CRYPTO
+#ifdef PSA_API_TEST_CRYPTO
 /*
  * When building for the PSA Crypto API tests, ensure the ITS max asset size is
  * set to at least the size of the largest asset created by the tests.
@@ -160,7 +160,7 @@
 #define CONFIG_TFM_CONN_HANDLE_MAX_NUM         8
 
 /* Set the doorbell APIs */
-#ifdef TEST_PSA_API_IPC
+#ifdef PSA_API_TEST_IPC
 /* IPC test suite uses IPC backend */
 #define CONFIG_TFM_DOORBELL_API                1
 #else