### 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
CHECK(!*supports_gtk_file_chooser_native);
  gchar* filename = gtk_file_chooser_get_preview_filename(chooser);
  if (!filename) {
    gtk_file_chooser_set_preview_widget_active(chooser, FALSE);
    return;
  }
  
  
  struct stat stat_buf;
  if (stat(filename, &stat_buf) != 0 || !S_ISREG(stat_buf.st_mode)) {
    g_free(filename);
    gtk_file_chooser_set_preview_widget_active(chooser, FALSE);
    return;
  }
  
  GdkPixbuf* pixbuf = gdk_pixbuf_new_from_file_at_size(filename, kPreviewWidth,
                                                       kPreviewHeight, nullptr);
  g_free(filename);
  if (pixbuf) {
    gtk_image_set_from_pixbuf(GTK_IMAGE(preview_), pixbuf);
    g_object_unref(pixbuf);
  }
  gtk_file_chooser_set_preview_widget_active(chooser, pixbuf ? TRUE : FALSE);
}
}  
void ShowFileDialog(const FileChooserDialog& dialog) {