Create GregorianCalendar via a delegate.

GregorianCalendar has a minimum-cost constructor that is not available
on the host. This change wraps the call to that constructor in a static
method that LayoutLib can replace.

Bug: http://b.android.com/79160

(cherry picked from commit 8edeef21e47c2fd104fc6e1c8b26fc913945e0b9)

Change-Id: I6cfdf2e4401dfb02efca3a41d61cd474b58da850
Merge "Create GregorianCalendar via a delegate."