flash/nor/cfi: fix uninitialized write-mem pointer