ntdll: Factor out some view manipulation functions.