drivers: ata: ahci: update max id if it is more than available ports