opentxs: fix -Wuseless-cast

Why not move the `ignored "-Wuseless-cast"` thing up to where
`#pragma GCC diagnostic ignored "-Wshadow"`
is? There is already a push and pop in place.