scripts/ubinize-image.sh: add support for adding custom partitions