Fix setting date properties from an empty date object.

If $date->month is set, before $date->mday is set it was incorrectly
being adjusted down. This would happen, e.g., when creating a new
date object, with no parameters then manually setting the month
property before setting the mday property.
BFN