Inline check.c and gpkg_check.c
Make gpkg check less strict: certain tables are optional or only required if specific content is present.