Make get_bigint complain if it sees a smallint.
Start producing smallint for empty and box cases.

At this point, everything fails in an orderly way, with "Incomplete
smallint handling!". The task from here is just to fix things until
we never see this error again. :-)