[attributedlabel] Implement intrinsicContentSize.

Closes #432.