[PATCH v2 3/4] selftests: core: remove duplicate defines