chan_sip: Ensure 'qualifygap' isn't negative