CONFIGURE: Allow amd64 as alias for x86_64.

Patch from #3599990 "CONFIGURE: Equate amd64 with x86_64".