Remove patch that was removed from distinfo.
Fix pkg_info -X segfault when last entry wasn't terminated with \n.
Addresses PR 48207.