Fix DFUV1 protocol memory read/write corruption.