Consequences of f(R)-theories of gravity on gravitational leptogenesis