m8: export DEVICE and VENDOR in setup-makefiles.sh

Change-Id: I445dfc9f37e2783d38f4aaa03372dc0a29d0b20a