build: remove unneeded configure $*val setting
Setting these values has been redundant since autoconf ~2.60, and we require 2.69. Should not change behaviour. Includes minor formatting improvements.
secp256k1 also recently made the same change: https://github.com/bitcoin-core/secp256k1/pull/1079.