[PATCH v2 2/3] server: Don't crash in d3dkmt_share_objects if attributes are invalid.