Don't allow formatting & mounting system on user builds

Change-Id: I7138c307ae6d7996d9fcf1cf280730ff6fb5ccf9
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 8cf097f..0027b81 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -454,6 +454,11 @@
     device->RemoveMenuItemForAction(Device::ENTER_RESCUE);
   }
 
+  if (get_build_type() == "user") {
+    device->RemoveMenuItemForAction(Device::WIPE_SYSTEM);
+    device->RemoveMenuItemForAction(Device::MOUNT_SYSTEM);
+  }
+
   ui->SetBackground(RecoveryUI::NONE);
   if (show_text) ui->ShowText(true);