libata: make ata_tf_to_lba[48]() generic