Syntax clean up to make clang happy.

Change-Id: I0984c395bbd1ee4b206eafd19915b6f68781dd16
diff --git a/src/image_writer.cc b/src/image_writer.cc
index 969f4ab0..bc22af6 100644
--- a/src/image_writer.cc
+++ b/src/image_writer.cc
@@ -481,7 +481,7 @@
   // Every type of method can have an invoke stub
   uint32_t invoke_stub_offset = orig->GetOatInvokeStubOffset();
   const byte* invoke_stub = GetOatAddress(invoke_stub_offset);
-  copy->invoke_stub_ = reinterpret_cast<const Method::InvokeStub*>(invoke_stub);
+  copy->invoke_stub_ = reinterpret_cast<Method::InvokeStub*>(const_cast<byte*>(invoke_stub));
 
   if (orig->IsAbstract()) {
     // Abstract methods are pointed to a stub that will throw AbstractMethodError if they are called