Some fixes to string ops to make t/nqp/59-nqpop.t pass

Note that NQP/Parrot, NQP/JVM and NQP/MoarVM all
disagree on how nqp::substr() should behave.