builtin/apply: avoid local variable shadowing 'len' parameter