Fix output type of date, interval year arithmetic functions