Use the correct closure class name in the emitter
There were locals named clsName and className in this function, and
the call to setClosureClassName was using the wrong one. This could create two
classes with the same name: one in the file defining a trait with a closure and
any file with a class that uses the trait.
Reviewed By: @markw65
Differential Revision: D1002162