configure: improve purple SRTP & XDATA check