calendar: Use sensible error reporting in calendar_gregorian_to_offset().
[pspp] / perl-module / t /
drwxr-xr-x   ..
-rw-r--r-- 13310 Pspp.t