Interfacial-layer modulation of domain switching current in ferroelectric thin films