Bugfix: Always apply the vector table magic number correctly.

Previously when the flash write length was less than the Chunk size the 2nd chunk write would re-calculate and apply an incorrect magic number