Bug 706275 - "View/Snap to active path" doesn't snap to layer center...

...with the Move tool

Add the missing code to snap to the rectangle's center in
gimp_image_snap_rectangle().

(cherry picked from commit a0a7e713b44e9876fcd7a79bc82c131fd69580d6)