cura: Fix breakage due to numpy change. (#16234)
Upstream bug report: https://github.com/daid/Cura/issues/1461
authored by Ambroz Bizjak and committed by Domen Kožar 9 years ago 7102c3c0 3bbdfe5d