patch: use size_t for line len.

 * allow file with lines longer than sizeof(short)

Submitted-by: tautolog