On a (2+1)-dimensional Madelung system with logarithmic and with Bohm quantum potentials: Ermakov reduction