app: don't ignore the return value of gimp_rectangle_intersect()

In gimp_drawable_resize(), don't blindly copy the width and height
returned by gimp_rectangle_intersect(), we have to check if the
function actually returned TRUE.

(cherry picked from commit 2b7f38f47362a5cb3d21b1bc26778f8abbd181fa)