test: really disable bufferevent_pair_release_lock under ASAN (and fix gcc) (cherry picked from commit 7b9ba3b717af109abdf3fb5fc99c288dc8024ef5)