move DFU macros back into header file

because they are used outside the dfu c file