[PATCH RESEND] lib/scatterlist: Fix NULL pointer deference