Update code to remove all deprecated usage flagged by unit tests.
Review Request #12642 — Created Sept. 25, 2022 and submitted
RBTools 4 deprecated a number of things, from legacy functions to legacy
This change updates all the code that emitted deprecation warnings
during unit test runs to instead use modern functions or calling
Unit tests pass with zero warnings.