MONDRIAN-1703] Determination of the aggStar in SqlTupleReader is ind… 

…ependent of the determination of the measures present in a native filter.

cherry pick of c6f0d81 and c7c285e from master branch.