[v9_16] Check config.log for ASAN errors
./configure checks might produce a false negative error due to ASAN errors and thus disable some options.
(cherry picked from commit 0db934d4)
./configure checks might produce a false negative error due to ASAN errors and thus disable some options.
(cherry picked from commit 0db934d4)