lib: use differing NTSTATUS and WERROR struct members