On Girth and the Parameterized Complexity of Token Sliding and Token Jumping