t/helper: merge test-strcmp-offset into test-tool