Replace pre–iOS 6 NSTextAlignment property.