Update JPEGTurboServiceImpl.java (rebased onto dev_5_0)



This is the same as gh-836 but rebased onto dev_5_0.

----

Correct calculation of last row/col size similar to http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-September/003940.html