messages splitting fix

As was mentioned in #940 messages in group chats should be split by ``MAX_GROUP_MESSAGE_DATA_LEN`` and ``MAX_GROUP_MESSAGE_DATA_LEN`` < ``TOX_MAX_MESSAGE_LENGTH``.
Too hard to calculate exact length, so I just hardcoded 1024.