Non-Gaussianity in a three-fluid curvaton model