lockfree: work around thread/exception/parameter vs test compile issue
Signed-off-by: Tim Blechmann <tim@…>