As long as the device tree overlay for the DAC is not active via reboot, ALSA cannot reset any sound card settings and hence produces these error messages. So they are expected if no sound output was enabled before on RPi. But indeed we could mute them by checking for an actual existing sound interface before calling alsactl.