graphics/libdrm: Fix kms detection