bus: add helper to find which bus holds a device