Revert "[TASK] Fix deprecated things in sysnote"

This reverts commit 524951cfebdc1443e084a3f2f2e95612f6a43272.

Commit 524951cfebdc1443e084a3f2f2e95612f6a43272 has to be
reverted as it relies on patch http://forge.typo3.org/issues/42506
which has been reverted due to an introduced regression.

Resolves: #46838
Releases: 6.1
Change-Id: I3d1037e508a0defbe127a6f4b8f15efdcf678ef3
Reviewed-on: https://review.typo3.org/19490
Reviewed-by: Marc Bastian Heinrichs
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn