Fix the C++ compilation part of the Mac build.

Change-Id: I0d396f46a840a48913d11d6187e6a0daf4e1052b
diff --git a/src/compiler/codegen/x86/ArchUtility.cc b/src/compiler/codegen/x86/ArchUtility.cc
index fa94db3..6c54e34 100644
--- a/src/compiler/codegen/x86/ArchUtility.cc
+++ b/src/compiler/codegen/x86/ArchUtility.cc
@@ -90,7 +90,7 @@
             break;
           case 't':
             buf += StringPrintf("0x%08x (L%p)",
-                                (intptr_t)baseAddr + lir->offset + operand,
+                                reinterpret_cast<uint32_t>(baseAddr) + lir->offset + operand,
                                 lir->target);
             break;
           default: