Auto-detect mali DRI device path

When using exynos_drm, /dev/dri/card0 is now the exynos-drm node, and
/dev/dri/card1 is mali.

Instead of hardcoding mali at card0, use libdrm to automatically
provide the correct device node path.

Signed-off-by: Daniel Drake <drake@endlessm.com>