samples: modules: nanopb: fix encode buffer size A bug was introduced when encoding/decoding moved to separate functions where sizeof no longer had the correct argument. The size of the encode buffer is passed to the encode function. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>