Caused by rBbbe6d4492823.
Sculpt vertex colors are ATTR_STD_VERTEX_COLOR -- but with
ATTR_ELEMENT_VERTEX instead of the expected ATTR_ELEMENT_CORNER_BYTE for
regular vertex colors.
This might better be solved at a lower level, this is more of a bandaid
to keep attribute standard & element the right types.