[PATCH] drm: fix minor number range calculation