Fix arithmetic expression overflow

If int is a 16-bit number and y=0, m=0, an overflow may occur.
1461 * (y + 4800 + (m - 14) / 12)

CLA: trivial