AFAIK, it's much better to use Prime95 for numbers of the form k*2^n +/- 1 than gmp-ecm.