Fix return type for getline(3)

It's supposed to be an ssize_t.