libdocument: fix a crash when changing color of an annotation
This slipped through while refactoring the new free text annot type. It partially reverts 7112994b to handle color while saving as before, as nothing changed for normal colors.
Fixes #304 (closed)