Fix for KT-3584: Wrong bytecode generated for local class with default parameters and captured local val

 #KT-3584 Fixed