SMSDispatcher: Fix determining the defaultSmsApp for proxied messages

We can't rely on the calling UID, since for re-broadcasted texts that'll
always be the telephony itself; so if called by the framework, use
the sentIntent creator to determine which app originated the message

Change-Id: I60ac02f6ae09f4260f5494659a174352f353aa2a
(cherry picked from commit 56c3c130a42dfb537322ae186aebe8e6e5523f0a)
Merge "SamsungExynos3RIL: fix sim PIN handling" into cm-11.0
(cherry picked from commit 9b4b0df3fe58bcdd0059e2abb77395f2a29ff95e)