runtime: Pass errno to Amiga library