Fix the RLMVerifyInWriteTransaction error message

Closes #1094.