Update makefile to support Arduino.mk changes

Arduino.mk changed the mechanism for reset via upload to use submakes
instead of directly calling the routines. This drove changes to the
temporary makefiles (ard-mk-$$) to pass $MAKEFILES to the parent make
process to ensure variables were properly set in submakes.