Support for preferred theme
Description
This adds a SDL_SetPreferredTheme function which allows user to "hint" at what theme they would want. SDL_GetSystemTheme() still needs to be called to determine if that theme was properly set.
I reworked how System Theme is worked on Windows. This is because user32.dll is already loaded and doesn't need to be constantly loaded per call of SDL_SetPreferredTheme etc. Also ShouldAppsUseDarkMode() isn't valid anymore after Window 10 1903+ according to here: https://github.com/mintty/mintty/issues/983. The method of using registry key seems to work even on latest version of windows. That might be the best option.
This currently works on Windows since that is what I have experience with. If anyone has any tips for documentation and testing for other OSes let me know. SDL_Tray is also not updated based on preferred theme currently. This is only a draft and reference.
Existing Issue(s)
#13873