twrp.cpp: move up gui_init in startup process

This allows the TWRP splash to show while background
operations are being completed. Otherwise, the splash
may only show briefly prior to the decryption prompt.

This should not impact fstab processing, module loading, or
decryption processes.

Change-Id: Id777fd6360f9327fe2ec1da54083052d9400f589
diff --git a/twrp.cpp b/twrp.cpp
index 02f88e9..5334999 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -378,6 +378,11 @@
 
 	// Load default values to set DataManager constants and handle ifdefs
 	DataManager::SetDefaultValues();
+
+	// Show TWRP splash here
+	printf("Starting the UI...\n");
+	gui_init();
+
 	startupArgs startup;
 	startup.parse(&argc, &argv);
 	printf("=> Linking mtab\n");
@@ -404,9 +409,6 @@
 	KernelModuleLoader::Load_Vendor_Modules();
 #endif
 
-	printf("Starting the UI...\n");
-	gui_init();
-
 	// Load up all the resources
 	gui_loadResources();