Add permission checking for binder IPC.

Change-Id: I3a7b3ce9fba888a031d1e73823d10c5326cc4020
Signed-off-by: Ed Tam <etam@google.com>