app: make gimp_curves_config_new_spline,explicit() handle variable #points

Also, append _cruft to the function name because they take guint8*
arrays, will add proper ones next.