Tunable band gap of boron nitride interfaces under uniaxial pressure