Frameworks: fix possible NPE on SlimPIE (backport from slim 4.3)

some activity chooser (from launchers) give the user choices which do not
exist and would give back a null drawable. To prevend the NPE
check the drawable for null

Change-Id: Iafa9f425c1d1b3bee9331923d5dded325f40e428