diff3: implement --strip-trailing-crReviewed by: baptDifferential Revision: https://reviews.freebsd.org/D31626