re #8879: Ensures the Mask receives a histogram workspace

The crash was due to processing event workspaces assuming they were histogram.
This fix, ensure that display receives a histogram workspace.
Merge branch 'bugfix/8879_sans2d_mask_crash' into develop