HidlTransportSupport: add getPidIfSharable.

This function provides PID when it is "sharable" (i.e
on debug builds). Auto-generated IBase::getDebugInfo
uses this function (both in Java and C++) to provide
the PID.

Test: builds
Test: lshal works
Bug: 68430495
Bug: 68992575
Change-Id: I051e795bb01528341a5f061892902a9f305ad493
2 files changed