Loongson: Fixed compilation warnings for undefined macros.
diff --git a/pngpriv.h b/pngpriv.h
index 54a64c4..f2f289f 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -204,6 +204,8 @@
# else
# define PNG_MIPS_MMI_OPT 0
# endif
+# else
+# define PNG_MIPS_MMI_OPT 0
# endif
#endif
@@ -215,6 +217,14 @@
# endif
#endif
+#ifndef PNG_LOONGARCH_LSX_OPT
+# if defined(__loongarch_sx)
+# define PNG_LOONGARCH_LSX_OPT 1
+# else
+# define PNG_LOONGARCH_LSX_OPT 0
+# endif
+#endif
+
#ifndef PNG_INTEL_SSE_OPT
# ifdef PNG_INTEL_SSE
/* Only check for SSE if the build configuration has been modified to