linux: Fix BUS_PLATFORM detection for non-PCI devices
Commit 74b7427c (linux: Make platform device probe less fragile) effectively dropped busid detection for non-PCI devices, for example on OMAP we have "ID_PATH=platform-omapdrm.0". For such devices busid will not be set, making platform probes (and server mediated fd support) impossible.
Fix that by extending config_udev_odev_setup_attribs() logic to support platform devices as well.
Signed-off-by: Ivaylo Dimitrov ivo.g.dimitrov.75@gmail.com