Generate endian.h before compiling kinect_upload_fw, this is how it
should have been done from the start.
Until now the system-wide endian.h was being picked up instead, making
the whole compile-time-endian-detection mechanism useless; now we are
actually using it.