[spirv-writer] Fix: need #include <functional>

TBR=dsinclair@google.com

Change-Id: I4b328ea1ab4532aacb4bcbdff2a99e2480a58071
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/18603
Reviewed-by: David Neto <dneto@google.com>
diff --git a/src/writer/spirv/function.h b/src/writer/spirv/function.h
index e15377f..65eb394 100644
--- a/src/writer/spirv/function.h
+++ b/src/writer/spirv/function.h
@@ -15,6 +15,7 @@
 #ifndef SRC_WRITER_SPIRV_FUNCTION_H_
 #define SRC_WRITER_SPIRV_FUNCTION_H_
 
+#include <functional>
 #include <vector>
 
 #include "spirv/unified1/spirv.hpp11"