configure: Check if assert is buggy with -pedantic