pass: move buffer fields initialization into a dedicated block
pass: move buffer fields initialization into a dedicated block

This helps reduce the diff of the next commit.

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl