opentxs: fix -Wuseless-cast