Affirm stock rose after the consumer financing firm swung to a profit in its fiscal Q2 as revenue handily beat views.