omit constant-1 Mem write masks

This also works around an ISE synthesis bug.