Updated getLabelHeight API supporting both iOS 6.1 and 7.0