apply Uint8Array speed optimization in Firefox

In Firefox the buffer is not `instanceof Uint8Array` so let’s use
Buffer.isBuffer instead
simplify toArrayBuffer test
remove ArrayBuffer constructor API addition

It’s more important to match node’s API exactly than to be clever or
useful
1.0.3