drm/amd/display: checking for NULL instead of IS_ERR()