Use NSCalendarIdentifierGregorian instead of NSGregorianCalendar

- NSCalendarIdentifierGregorian is available since 4_0
- NSGregorianCalendar is deprecated in 8_0