linker: fix text relocation defines

 In every other repo we use TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS

Change-Id: If7c4857b2d84e75c2807c14689f05645e11dd0b5
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 229d9b8..0715fa2 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -4060,7 +4060,7 @@
   if (has_text_relocations) {
     // Fail if app is targeting sdk version > 22
 #if !defined(__i386__) // ffmpeg says that they require text relocations on x86
-#if defined(TARGET_NEEDS_TEXT_RELOCATIONS)
+#if defined(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)
     if (get_application_target_sdk_version() != __ANDROID_API__
         && get_application_target_sdk_version() > 22) {
 #else
@@ -4073,7 +4073,7 @@
 #endif
     // Make segments writable to allow text relocations to work properly. We will later call
     // phdr_table_protect_segments() after all of them are applied.
-#if defined(TARGET_NEEDS_TEXT_RELOCATIONS)
+#if defined(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)
     // Silence the warning for targets that need
     // text relocations since it can't really be helped
     DEBUG("%s has text relocations. This is wasting memory and prevents "