csu: add the "Retain" flag to notes sections flag
(cherry picked from commit 6700e2d963ff0475cc5cd444e92ce40855643084)