alx: fix error handling in __alx_open