intel_th: Wait until port is in reset before programming it