viewer_edit_dlg(): Invalidate secondary buffer on memory edit

Important for Unassemble mode, where the instruction offsets most likely change after an edit.
Refactor unasm() to give clearer information about memory read and write accesses
unasm(): Correctly support string processing instructions