vrend: Check correct gbm_bo_map return value
On failure gbm_bo_map will return MAP_FAILURE and not necessarily NULL. Since the return value needs "sys/mman.h" test for the header and enable EGL only if it is found.
Fix suggested by Ryan Neph.
Signed-off-by: Gert Wollny gert.wollny@collabora.com