[buffer, engine] Simplify Buffer object allocation
[engine, ErrnoException] Simplify object allocation

Also implement ErrnoExceptionPrototype.