DERBY-6691 ROW_NUMBER should not be allowed as argument in a procedure call

Backported cleanly from trunk as:

svn merge -c 1616335 https://svn.apache.org/repos/asf/db/derby/code/trunk

Patch derby-6691 makes this usage throw 42ZC2 and adds a test to
OLAPTest#testBasicOperations.


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/branches/10.11@1616519 13f79535-47bb-0310-9956-ffa450edef68