adb: properly calculate packet size on Mac.
am: 2e05dfa2f2

Change-Id: I68042dacd0a1a3583d49f5db7a99f2c371a7d9fd