smurf: Record the number of chunks used by makemap in the output map.

The number of chunks used is now stored in new item "NCHUNK" within
the SMURF extension of the output map.