[runtime] Don't assert when loading a generic methodspec with 0 arity (xambug #19097).