Asymptotic properties of optimal solutions in planar discounted control problems