cxxll::file_handle::getline(): Improve compatibility with older glibc versions