[PATCH 6.18 371/614] crypto: starfive - Correctly handle return of sg_nents_for_len