RewriteObjC: Factor string literal creation into a helper and make sure it gets a proper constant array type.

No change in output.