Correctly set tx version in createrawtransaction.

If createrawtransaction is called with a name operation, correctly set
its nVersion as a namecoin tx.