Android patch: Add DecimalFormat#setParseJavaCompatible to replace setParseStrictMode

Avoids exposing the internal Enum ParseMode. The API will be removed
once the prebuilts are updated.

Bug: 139480281
Test: atest CtsLibcoreTestCases
Change-Id: Ia534994249651911e1380e8e91833418a90b856e
1 file changed