cal: use month contents structure for --three printing

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
cal: use month contents structure for --year printing

Signed-off-by: Sami Kerola <kerolasa@iki.fi>