fix: in modstd.lib: pass the correct ideal to primeTest()

(cherry picked from commit cd063ec7c6fdec67af40250b7c3aa4eb7cbf558c)

Signed-off-by: Andreas Steenpass <steenpass@mathematik.uni-kl.de>