egl: consistently use EGLint for DMA-BUF format
EGL_EXT_image_dma_buf_import_modifiers 1 uses EGLint to carry formats. We were casting it to int (which may not be the same width) and uint32_t (which may change the value).
Instead, use EGLint everywhere.