pytest: silence deprecation warning in the pytest atf wrapper
Convert pytest.mark decorator to the pytest.hookimpl() one,
as suggested by the
https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
Differential Revision: https://reviews.freebsd.org/D37884
MFC after: 2 weeks