Add a check for null buildings in the foobar_building test

This should help catch MapQuest/osm2pgsql#4, although the subsequent tests should in theory catch it anyways, this one is clearer about the cause of failure.

Passes `make check`.

cc @hollinger