execute_alu: simplify carry and overflow flag generation