Fix import_apl: always report function definition error line as-if in origin 1.