fdo#72645: Allow GETPIVOTDATA to get result from leaf node of result tree.

Change-Id: I0fc1fd069440ed6fee378fc2dfd2ed761afbdeab
(cherry picked from commit 8728f8e8705cfb6875a315aef85ec6004604e702)
fdo#72645: Case-insensitive string comparison in GETPIVOTDATA.

(cherry picked from commit 17b00767948f7add229ec589c06cd8c898032ffa)

Conflicts:
	sc/qa/unit/subsequent_filters-test.cxx

Change-Id: Ibdb2b7ab2bae03875a3462816e860f58d9076457