lockfree: consume_via_copy - fix compiler warning