[System.Text.RegularExpressions] Adjust to disable IL generation under FULL_AOT_RUNTIME