libndr: add checking to all pull/push functions of base types