math/mp-sqrt.c, math/pgen-granfrob.c: Publish `squarep' function.