[runtime] Add API to set debug options without going through MONO_DEBUG.