sci-astronomy/montage: fixed for more recent compiler versions, some warnings, and a leak

Package-Manager: portage-2.2.8-prefix