ide: make wait_drive_not_busy() static again