cosmetics: Remove redundant #endif comments that are very close to the #ifdef