Make memarray word/dword/qword writers take a mem_mask, and update the tilemap device to use them [Alex Jackson]