fdo#70666 fix Graphite ligature replacement at line breaks

Change-Id: I5b7c149f7f419ba18bd2cc59f4e77a0b61280caa
fdo#70666 avoid only bad Graphite ligature replacement

Change-Id: Ibd42c70edbd8a5ca5eba34bcb92e801c8dc97ba0