Scan build fixes

Fix some trivial warnings coming out of Clang's static analysis.
_operandReg seems to be used in WriteRex (line 1105) and WriteRest (line 1118).