Here is a temporary solution
sudo sed -i "2iimport os\ntry: os.symlink(\"/dev/gpiochip0\", \"/dev/gpiochip4\")\nexcept FileExistsError: pass" /usr/bin/rockpi-penta/main.py
Add a symlink when the program starts.
I’m sure DietPi will be updated soon. You may need to reinstall or delete these lines.