update-rc.d: don't do anything if systemd.bbclass is inherited

Before doing real work in update-rc.d check if the systemd class has been inherited and don't do anything if it has.