[Impeller] Header fixes to make fml/impeller buildable against libstdc++ (#36240)

diff --git a/fml/logging.cc b/fml/logging.cc
index 1c5c9c8..5a0280e 100644
--- a/fml/logging.cc
+++ b/fml/logging.cc
@@ -3,6 +3,7 @@
 // found in the LICENSE file.
 
 #include <algorithm>
+#include <cstring>
 #include <iostream>
 
 #include "flutter/fml/build_config.h"
diff --git a/fml/mapping.cc b/fml/mapping.cc
index 0c2815f..5892136 100644
--- a/fml/mapping.cc
+++ b/fml/mapping.cc
@@ -5,6 +5,8 @@
 #include "flutter/fml/mapping.h"
 
 #include <algorithm>
+#include <cstring>
+#include <memory>
 #include <sstream>
 
 namespace fml {
diff --git a/fml/message_loop_task_queues.h b/fml/message_loop_task_queues.h
index 60a0a0f..2d89caa 100644
--- a/fml/message_loop_task_queues.h
+++ b/fml/message_loop_task_queues.h
@@ -6,6 +6,7 @@
 #define FLUTTER_FML_MESSAGE_LOOP_TASK_QUEUES_H_
 
 #include <map>
+#include <memory>
 #include <mutex>
 #include <set>
 #include <vector>
diff --git a/fml/platform/linux/timerfd.cc b/fml/platform/linux/timerfd.cc
index 39d4f8a..f6ceb6d 100644
--- a/fml/platform/linux/timerfd.cc
+++ b/fml/platform/linux/timerfd.cc
@@ -6,6 +6,7 @@
 
 #include <sys/types.h>
 #include <unistd.h>
+#include <cstring>
 
 #include "flutter/fml/eintr_wrapper.h"
 #include "flutter/fml/logging.h"
diff --git a/fml/platform/posix/file_posix.cc b/fml/platform/posix/file_posix.cc
index 018be83..110ef55 100644
--- a/fml/platform/posix/file_posix.cc
+++ b/fml/platform/posix/file_posix.cc
@@ -10,6 +10,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
+#include <cstring>
 #include <memory>
 #include <sstream>
 
diff --git a/fml/thread_local.cc b/fml/thread_local.cc
index d2ea549..862a343 100644
--- a/fml/thread_local.cc
+++ b/fml/thread_local.cc
@@ -6,6 +6,8 @@
 
 #if FML_THREAD_LOCAL_PTHREADS
 
+#include <cstring>
+
 #include "flutter/fml/logging.h"
 
 namespace fml {
diff --git a/impeller/base/allocation.cc b/impeller/base/allocation.cc
index 13a6d11..5418eef 100644
--- a/impeller/base/allocation.cc
+++ b/impeller/base/allocation.cc
@@ -5,6 +5,7 @@
 #include "impeller/base/allocation.h"
 
 #include <algorithm>
+#include <cstring>
 
 #include "flutter/fml/logging.h"
 #include "impeller/base/validation.h"
diff --git a/impeller/base/comparable.h b/impeller/base/comparable.h
index 5c059c2..1937aeb 100644
--- a/impeller/base/comparable.h
+++ b/impeller/base/comparable.h
@@ -7,6 +7,7 @@
 #include <cstddef>
 #include <functional>
 #include <map>
+#include <memory>
 #include <string>
 #include <type_traits>
 
diff --git a/impeller/compiler/includer.cc b/impeller/compiler/includer.cc
index 3be266f..d978653 100644
--- a/impeller/compiler/includer.cc
+++ b/impeller/compiler/includer.cc
@@ -4,6 +4,8 @@
 
 #include "impeller/compiler/includer.h"
 
+#include <cstring>
+
 #include "flutter/fml/paths.h"
 
 namespace impeller {
diff --git a/impeller/renderer/host_buffer.cc b/impeller/renderer/host_buffer.cc
index 44d1621..16f9b62 100644
--- a/impeller/renderer/host_buffer.cc
+++ b/impeller/renderer/host_buffer.cc
@@ -5,6 +5,7 @@
 #include "impeller/renderer/host_buffer.h"
 
 #include <algorithm>
+#include <cstring>
 
 #include "flutter/fml/logging.h"