[PATCH v8 12/14] ntdll: improve return handling in init_numa_info and fix parameter checking