configure: check if compiler supports -Werror=vla.