paned: Fix compiler warnings
paned: Fix compiler warnings

Fix warnings due to -Wdeclaration-after-statement and -Wshadow.

jadahl/gtk,chergert/gtk,jigpu/gtk,jigpu/gtk,grubersjoe/adwaita,Adamovskiy/gtk,alexlarsson/gtk,chergert/gtk,grubersjoe/adwaita,jadahl/gtk,chergert/gtk,chergert/gtk,alexlarsson/gtk,Adamovskiy/gtk,chergert/gtk,jadahl/gtk,Adamovskiy/gtk,grubersjoe/adwaita,jigpu/gtk,alexlarsson/gtk,Adamovskiy/gtk,jadahl/gtk,jigpu/gtk,Adamovskiy/gtk,jadahl/gtk,alexlarsson/gtk,Adamovskiy/gtk,grubersjoe/adwaita,grubersjoe/adwaita,jadahl/gtk,grubersjoe/adwaita,davidgumberg/gtk,davidgumberg/gtk,chergert/gtk,davidgumberg/gtk,davidgumberg/gtk,Adamovskiy/gtk,alexlarsson/gtk,davidgumberg/gtk,jigpu/gtk,chergert/gtk,alexlarsson/gtk,davidgumberg/gtk,davidgumberg/gtk,jigpu/gtk,jadahl/gtk,jigpu/gtk,grubersjoe/adwaita,jigpu/gtk,davidgumberg/gtk,alexlarsson/gtk,alexlarsson/gtk,chergert/gtk,grubersjoe/adwaita,jadahl/gtk,Adamovskiy/gtk