[FEATURE] Add check for usage of removed constants

Implement check for usage of PATH_t3lib

Resolves: #50263