Fixed uchar overflow bug for blur.

Variable 'blurred' inside the worker thread was of type uchar and was thus overflowing. Fix was to change type to int and then cast at a later point.