makefile: filter ARCHFLAGS env var from user environment

Unexpected values in this variable can cause strange compile
failures.