Fix NPE when querying SimPhonebookProvider with null projection

The elementary files item Uri did not check if the projecion was null.
Also add null checks for some other possibly null values.

Test: atest TeleServiceTests:SimPhonebookProviderTest
Bug: 154363919
Change-Id: I99c289bd1cfd6b82c1e79f77df95e7fdd651e7c1
2 files changed