Rearrange sdw_handle_slave_status() so that any peripherals
on device #0 that are given a device ID are reported as
unattached. The ensures that UNATTACH status is not lost.
Handle unenumerated devices first and update the
sdw_slave_status array to indicate IDs that must have become
UNATTACHED.