### Electron Version

13.0.0

### Operating System Version

Ubuntu 18.04

### Last Known Working Electron version

None

### Expected Behavior

Asking user to choose an image through a dialog:
```
try {
  const response = await dialog.showOpenDialog({
    buttonLabel: "Choose an image",
    defaultPath: app.getPath("desktop"),
    properties: ["openFile"],
  });
  if (!response.canceled) {
    const srcImgPath = response.filePaths[0];
  }
} catch (err) {
  console.error(err);
}
```
In the dialog, if the user chooses an image file, a preview of said image will be shown.

Expected behavior: `srcImgPath` contains the path to the file that the user chose.

### Actual Behavior

When user chooses an image file that has the size > 1Gb, the program crashes with the following error:

`tcmalloc: large alloc 1073741824 bytes == 0x12874fac2000 @  0x555c486f6e35 0x7ff5a81a76cf`

This is because the file is too big to be previewed. Electron currently does not offer a way to turn off this preview feature, or at least limit the size of files that can be previewed.

### Additional Information

Related issue: https://github.com/electron/electron/issues/8875
Related SO question: https://stackoverflow.com/questions/67954227/disable-image-preview-in-dialog-box
shell/browser/ui/file_dialog_gtk.cc
DialogSettings::~DialogSettings() = default;
namespace {
static const int kPreviewWidth = 256;
static const int kPreviewHeight = 512;
void InitGtkFileChooserNativeSupport() {
  
  
  if (supports_gtk_file_chooser_native) {
    return;
  }
  
  supports_gtk_file_chooser_native = false;
  if (!g_module_supported()) {
    return;
  }
  gtk_module = g_module_open("libgtk-3.so", G_MODULE_BIND_LAZY);
  if (!gtk_module) {
    return;
  }
  
  g_module_make_resident(gtk_module);
  bool found = g_module_symbol(
      gtk_module, "gtk_file_chooser_native_new",
      reinterpret_cast<void**>(&dl_gtk_file_chooser_native_new));
  if (!found) {
    return;
  }
  found = g_module_symbol(
      gtk_module, "gtk_native_dialog_set_modal",
      reinterpret_cast<void**>(&dl_gtk_native_dialog_set_modal));