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

(cherry picked from commit b755f82c7096aa31d5d11b124bcf5fe14ab35a47)

Change-Id: Icf352a57e6c99409a3153b4163d7cc6d01bd18f0
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: