Move mono_get_optimizations_for_method to mini.c, since driver.c is only included in binaries, not libraries.
Add OrderedDictionary to the mobile profile.

Requested in support case #49635.