ConstCast and ConstCastAway only report if member is a data class