demosaic: properly weighing for fractional scale
demosaic: properly weighing for fractional scale

Turns out the code to properly weigh the pixels when scaling down
by non-integer amounts is quite simple. The results are minor but
there is a slight increase in output resolution and no apparent
performance penalty so why not.

pedrocr/rawloader,pedrocr/rawloader