python:ndr: add ndr_{pack,unpack,print}_{in,out} helper functions