Use KSERVICE_BUILD_DEPRECATED_SINCE in autotests code

Authored by kossebau on May 9 2020, 6:42 PM.