[core] Add deprecation warning guards around -[NSString sizeWithFont:constrainedToSize:lineBreakMode:] calls.
Merge pull request #544 from jverkoey/deprecation_suppression

[core] Add deprecation warning guards around -[NSString sizeWithFont:constrainedToSize:lineBreakMode:] calls.