signrawtransaction: check for spent tx if third parameters is given and is []