[PATCH v3 2/6] kunit: Add macro to conditionally expose declarations to tests