Affirm stock slides as Goldman points to regulatory, funding, credit risks