Only 5.4 has these fixes now. 5.2 is out of maintenance.
Not sure if backporting to 5.3 is straightforward, given that this issue is specific to newer linux distributions, so we can even skip it to backport our older branches. However, if done, backporting the change in systemd service file must be done after the backports in the c code.
Closing this one here, decisions to backport to be done when planning next 5.3.x release.