Make ByteBuffer::toNSData public
Workaround issue with unsigned literals in tests

Not certain if it’s a compiler bug or not.