Update rnencryptor.cpp

There is a bug when generating IV. If not setting a '\0' at the end, it gets more bytes then expected. Being verified with RNCryptor on Mac and Windows, it works.
Merge pull request #1 from rockzhuang/patch-1

Update rnencryptor.cpp