HPCC-11310 Fix signature of addNamedQuery() in workunit.hpp

Snapshot parameter was added to the method in the cpp but not
the header. Only used externally by eclserver.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>