fix std.mem.addNullByte and implement sentinel slicing

see #3770
26f3c2d061Andrew Kelley committed on 12/20/2019, 11:28:56 PMparent51cbd96
9 files changedLine totals unavailable