core: call pa_sink_get_latency_within_thread() instead of going directly via process_...