Add SdbFreeAttributes, support TAG_SIZE in SdbGetAttributes