Fixed 64-bit porting issues

Fixed two issues about casting between int and pointer which
cause compilation error in 64-bit mode (eg. for 64-bit emulator)

Change-Id: I5ca9a933a239db73e56d6f27de05aa42bd06a650
Merge "Fixed 64-bit porting issues"
am 081c80c2: Add System Tracing capability to Sync Manager

* commit '081c80c2e0f97fb50595b138271d14892aea1b4a':
  Add System Tracing capability to Sync Manager
am 23789ae9: Merge "set a Sensor\'s version properly" into jb-dev

* commit '23789ae95fd24d15c330bc9cae73975566632f97':
  set a Sensor's version properly
am 3410a85b: Merge "Disable EGL hibernation due to jank" into jb-dev

* commit '3410a85b15a4d2579b5e77144f275a30ad880a65':
  Disable EGL hibernation due to jank
am 5b38a1df: Add audio tag to systrace

* commit '5b38a1dfe8e90734fc878ef47df1bd967480a946':
  Add audio tag to systrace
am ddcb1c2b: Merge "return errors properly in BitTube and SensorEventQueue" into jb-dev

* commit 'ddcb1c2bbd273dff15411c4346bb78d3fa939ab4':
  return errors properly in BitTube and SensorEventQueue
am 34c65888: Change name of system property for traces.

* commit '34c65888d1842315e987045594e2999442c78f1d':
  Change name of system property for traces.
am 59df82f3: Merge "libui: add the Rect::transform method" into jb-dev

* commit '59df82f355ac4bb3c08f678432a38c3ef29b3637':
  libui: add the Rect::transform method
am cae7c0b9: Merge "libgui: Add support for post-xform crops." into jb-dev

* commit 'cae7c0b955efba6986d9e1fe5a68e48e7a2f806b':
  libgui: Add support for post-xform crops.
am 82c53806: Merge "SurfaceTexture: improve texture matrix computation" into jb-dev

* commit '82c53806ada5c314124431ec0a49fa15a6b5f1d6':
  SurfaceTexture: improve texture matrix computation
am cbb1a958: SurfaceFlinger: tell SurfaceTex about filtering

* commit 'cbb1a95819ec302ae15e4a1162a8b1349ae5c33e':
  SurfaceFlinger: tell SurfaceTex about filtering
am 161534a3: SurfaceFlinger: SCALING_MODE_FREEZE cropping support

* commit '161534a3c5ee77bc91e7a73ffb6274f35324f8b5':
  SurfaceFlinger: SCALING_MODE_FREEZE cropping support
am 555f89d8: Add callback hack to find out when to reload system properties.

* commit '555f89d8df316cdc5a25dbedb8614c2ac7a5e0a9':
  Add callback hack to find out when to reload system properties.
am 3c32e5da: Merge "OMX IL header additions for FLAC" into jb-dev

* commit '3c32e5da5b3f12bd498ae7016604b20ba61f5756':
  OMX IL header additions for FLAC
am cd1806e2: libgui: improve some logging and dumping

* commit 'cd1806e210f2633423f0fb14d39fa00d03974223':
  libgui: improve some logging and dumping
am 51dcd581: SurfaceFlinger: recompute visible regions more

* commit '51dcd581b1fb1bcea7cac9b969123abda13e34ab':
  SurfaceFlinger: recompute visible regions more
am f30fd014: Merge "Workaround for add_tid_to_cgroup failed to write" into jb-dev

* commit 'f30fd01497a53cbff8692721026c3f7b6830158e':
  Workaround for add_tid_to_cgroup failed to write
am f15a83f5: SurfaceFlinger: add a crop to the layer state

* commit 'f15a83f5814219c167f87cb8aaea622fc8493499':
  SurfaceFlinger: add a crop to the layer state
am b194ec92: libutils: add a tracing tag for video

* commit 'b194ec926bf3fb3c546244b135f602ceb3a0a6b0':
  libutils: add a tracing tag for video