Fix attributes index in GENERATED_CLUSTER macro
Fix attributes index in GENERATED_CLUSTER macro

- Index is not reset to 0 at each endpoints

project-chip/zap,project-chip/zap,project-chip/zap,project-chip/zap