Merge changes Ie8fe724d,Ifd42f31d

* changes:
  SF: clean up casting around histogram reporting
  binder: add read/writeUint64Vector functions