app: aboot: Use the updated function to switch slot

Reset the attributes only when the slot is switched through
fastboot command and retain the SUCCESS bit when slot switch
happens due to unbootable current slot. So use the updated
function for partition_switch_slots.

Change-Id: Id27be5cc897fdb28bc2bacbcf1d5af3a1be63dee
1 file changed