sample 23 HDR updates

fix issues with Reinhard tonemapping for HDR in sample 23

http://www.cis.rit.edu/people/faculty/ferwerda/publications/sig02_paper.pdf