module.c: Register a major number for character device if SUPPORT_DRI_DRM_EXTERNAL is enabled

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>