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.