SBCommunication: Fix a pointer-to-function to void-pointer cast

reinterpret_cast may not convert a pointer-to-function to a
void-pointer.  Take a detour through intptr_t and *then* convert to a
pointer-to-function.

This fixes a diagnostic emitted by GCC.

llvm-svn: 213696
diff --git a/lldb/source/API/SBCommunication.cpp b/lldb/source/API/SBCommunication.cpp
index a29f735..df0b864 100644
--- a/lldb/source/API/SBCommunication.cpp
+++ b/lldb/source/API/SBCommunication.cpp
@@ -250,7 +250,7 @@
     if (log)
         log->Printf ("SBCommunication(%p)::SetReadThreadBytesReceivedCallback (callback=%p, baton=%p) => %i",
                      static_cast<void*>(m_opaque),
-                     reinterpret_cast<void*>(callback),
+                     reinterpret_cast<void*>(reinterpret_cast<intptr_t>(callback)),
                      static_cast<void*>(callback_baton), result);
 
     return result;