fix negated return value of ns_skiprr, breakage in related functions
fix negated return value of ns_skiprr, breakage in related functions

due to a reversed pointer difference computation, ns_skiprr always
returned a negative value, which functions using it would interpret as
an error.

patch by Yu Lu.

chardi/musl,chardi/musl,chardi/musl