[iOS] Fixed crash issue in V5MessageController by replacing delegate by dismiss block.