added multi-threaded test for ChunkedArrayTmpFile
cmake: added compiler flags to run the multi-threaded chunked array test