Bug 934615 - Fix for change in TextDecoder for Buffer.isEncoding to prop...

...erly fail when passed 'undefined'