panel: remove unused variables from panel-layout.c