Ensure COCOTB is set so endian_swapper example can run in isolation