drm: fix error routines in drm_open_helper