Fix a couple uses of ".prototype = new"

We don't want the THREE.Loader constructor to be executed, we just want
to setup our prototype chain. Using new would execute the constructor
logic of THREE.Loader.
Set prototype.constructor for all derived classes

Fixes #5570
Merge pull request #5603 from elisee/fix-5570

Fix #5570: Set prototype.constructor for all derived classes