Check dmabuf stride only for linear buffres
Both EGL and Vulkan define stride as a byte offset to the start of the next row only for linear formats. Non-linear ones it may have a special meaning.
Fixes #896
Signed-off-by: Tomek Bury tomek.bury@gmail.com