Add mprotect helper function to MemMap class.

Change-Id: I3967b76301d339de987fb8e094adbde4ef18573d
diff --git a/src/mem_map.h b/src/mem_map.h
index ce2f4fa..87c45a9 100644
--- a/src/mem_map.h
+++ b/src/mem_map.h
@@ -57,6 +57,8 @@
   // Releases the memory mapping
   ~MemMap();
 
+  bool Protect(int prot);
+
   byte* Begin() const {
     return begin_;
   }