opentxs: fix -Wold-style-cast