Duality-based a posteriori error estimates for some approximation schemes for optimal investment problems