SDL: SDL_endian.h: check for __powerpc__ and __PPC__ in big endian decision.

From b8f30c021bd4a96765b84744939eece23c432478 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 12 Jul 2022 00:55:00 +0300
Subject: [PATCH] SDL_endian.h: check for __powerpc__ and __PPC__ in big endian
 decision.

Also remove the _M_PPC check from there.
Reference issue: https://github.com/libsdl-org/SDL/issues/5907
---
 include/SDL_endian.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/SDL_endian.h b/include/SDL_endian.h
index e1c6b5ef4a5..11ea6c663a6 100644
--- a/include/SDL_endian.h
+++ b/include/SDL_endian.h
@@ -39,7 +39,7 @@
 static __inline__ void __attribute__((__always_inline__, __nodebug__))
 _m_prefetch(void *__P)
 {
-  __builtin_prefetch (__P, 0, 3 /* _MM_HINT_T0 */);
+  __builtin_prefetch(__P, 0, 3 /* _MM_HINT_T0 */);
 }
 #endif /* __PRFCHWINTRIN_H */
 #endif /* __clang__ */
@@ -78,7 +78,7 @@ _m_prefetch(void *__P)
 #if defined(__hppa__) || \
     defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
     (defined(__MIPS__) && defined(__MIPSEB__)) || \
-    defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
+    defined(__ppc__) || defined(__POWERPC__) || defined(__powerpc__) || defined(__PPC__) || \
     defined(__sparc__)
 #define SDL_BYTEORDER   SDL_BIG_ENDIAN
 #else