FIX: regression on imported function calls on ARM backend after previous commit. (fix for #877)