Revert "migrateImagesToSwift: check for read-only mode"

This reverts commit fce50192330497c99005c0465fe82c706f357ab7.
migrateImagesToSwift: handle read-only wikis