Scripts: delete repeated empty lines from .rst files

- Delete repeated empty lines from .rst files
- Only edit files containing repeated empty lines to prevent make from building
  the whole project each time this script is run.

Signed-off-by: Olivier Carrère <carrereo@gmail.com>
Acked-by: Angela Cristina <acristina@redaction-technique.org>