xf86drm: cap devices reported by drmGetDevice(2) to max_devices
Do as the documentation says - can up-to the requested amount. Otherwise we risk out-of-bound access for users of the API.
Issue: #56 (closed) Signed-off-by: Emil Velikov emil.l.velikov@gmail.com