MAINT: make loggam static in random kit

The `loggam` function in the random kit sources was public (`extern`), but it's only used in one module. I made it static.