A new PR to QGIS has been made and accepted (https://github.com/qgis/QGIS/pull/9542). This MR aims at solving the issue on OTB side
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging: