ao_jack: fix deprecation warning

jack_port_get_total_latency is deprecated: use the "new" API based on
jack_port_get_latency_range instead.