libata: separate out ata_host_alloc() and ata_host_register()