MFC	r252956:

Implement SEEK_HOLE/SEEK_DATA for ext2fs.
MFC	r252231:

sed: use getline() instead of fgetln().

In BSD, fgetln() available in libc but in Illumos the Solaris port had to
include it internally. It also seems to have caused problems [1].

Aid portability by using getline() instead.