[PATCH v3 1/4] regression-tests: Replace deprecated methods in phase1 baremetal tests