opentxs: fix -Wuseless-cast
Merge pull request #316 from toxeus/fixUselessCast

opentxs: fix -Wuseless-cast