lib: use `Buffer.*` instead of deprecated Buffer constructor
lib: use `Buffer.*` instead of deprecated Buffer constructor

Refs: https://github.com/nodejs/node/issues/19079

addaleax/lzma-native,addaleax/lzma-native,addaleax/lzma-native,addaleax/lzma-native