configure: check if compiler halts on function prototype mismatch