panel-loader: Skip static init func if the panel has not been added

For several reasons a panel cannot be added to the model (e.g. if
OnlyShowIn/NotShowIn is set to skip the panel on a particular desktop). If this
is the case we should avoid calling the panel's static init func (if any).

Fixes: GNOME/gnome-control-center#248
11 jobs for fix-lp-1799675 in 4 minutes and 25 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Build
passed build #131722

00:01:58

 
  Test
passed asan #131724

00:01:43

passed test #131723

00:00:43

 
  Manual
manual armv8 #131729
allowed to fail manual
manual flatpak #131725
allowed to fail manual
manual msan #131728
allowed to fail manual
manual ppc64le #131730
allowed to fail manual
manual tsan #131726
allowed to fail manual
manual ubsan #131727
allowed to fail manual
 
  Review
manual review #131731
allowed to fail manual
manual stop_review #131732
allowed to fail manual