Removing usage of UITextAlignment when building against iOS 7 SDK

Remove duplicated blocks when using NSLineBreakMode and define NIIOS_7_0.