Modbus bug 1336 v1

This PR contents:
- a fix for a warning - CID 1257762 -
- a correction for a cosmetic observation
- an information in YAML file related to stream depth for Modbus
- a fix for Cygwin build fails

Signed-off-by: David DIALLO <david.diallo@ssi.gouv.fr>