valgrind + bff: Integer divide by zero

(cherry picked from commit a1fab361cb3325b2d012942e43660f2c0a2a4b96)

Conflicts:
	filter/source/graphicfilter/itiff/itiff.cxx

Change-Id: I4c47d17a421f1c6d2d6cc29c7b92ec930bdf901f
Reviewed-on: https://gerrit.libreoffice.org/11022
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>