build: enable warnings in autotools build

Turn on -Wall -Wextra -Wno-unused-parameter, just like we do in gyp
builds.

R=@saghul