os_support: Add #endif comments for better readability