[ownCloud backend] Check color format before using it

Calendar-based sources have always overwritten color, to ensure
the color defined on the server matches the one used in evolution,
but there was not checked whether the color is of the right format,
which may eventually cause reset of a user-specified color to
an invalid one, showing the calendar in an odd color.