platform: msm_shared: Add slot_is_sucessful check, before switch_slot

Along with slot_is_bootable, add slot_is_sucessful check before
partition_switch_slots.

Change-Id: I0a017f63c8a3d1b61d5027eb12fca1310921e6bb
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
1 file changed