etc/pthread1.c: factor out handle_error_en macro