Bugfix for ApidbWriter and large IDs

When importing Data containing Node-, Way- or RelationIDs
greater 2,147,483,647 an integer overflow caused the import to fail.