opentxs: fix -Wuseless-cast

Will do