drm/nouveau: fix pramdac_table range checking