linux-user: Simplify host <-> target errno conversion using macros