Fix the error handling in EC_POINTs_mul