### 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
} else if (open_promise_) {
    gin_helper::Dictionary dict =
        gin::Dictionary::CreateEmpty(open_promise_->isolate());
    if (response == GTK_RESPONSE_ACCEPT) {
      dict.Set("canceled", false);
      dict.Set("filePaths", GetFileNames());
    } else {
      dict.Set("canceled", true);
      dict.Set("filePaths", std::vector<base::FilePath>());
    }
    open_promise_->Resolve(dict);
  }
  delete this;
}
void FileChooserDialog::AddFilters(const Filters& filters) {
  for (const auto& filter : filters) {
    GtkFileFilter* gtk_filter = gtk_file_filter_new();
    for (const auto& extension : filter.second) {
      
      std::string file_extension = base::ToLowerASCII("*." + extension);
      gtk_file_filter_add_pattern(gtk_filter, file_extension.c_str());
      
      file_extension = base::ToUpperASCII("*." + extension);
      gtk_file_filter_add_pattern(gtk_filter, file_extension.c_str());
    }
    gtk_file_filter_set_name(gtk_filter, filter.first.c_str());
    gtk_file_chooser_add_filter(dialog_, gtk_filter);
  }
}
void FileChooserDialog::OnUpdatePreview(GtkFileChooser* chooser) {