Development of an Innovative and Sustainable Model for Integrating River Maintenance with Energy Production from Residual Biomass