panel: simplify panel_toplevel_check_resize function

There is no need to use two GtkAllocation variables. And there is
no need to set requisition.[width/height] to -1 before using in
gtk_widget_get_preferred_size.