Add API for immutable PendingIntents

So PendingIntent users can determine if a PI is immutable or not.

Bug: 171803518
Test: atest PendingIntentTest
Change-Id: Ie45ef8b327c0bdf1232ca3ae28c7744cb6d3e83f
5 files changed