Ionization thresholds and positions of avoided crossing of potassium Stark Rydberg states: a Stark-adapted quantum defect orbital treatment