rdpsnd: fix some null pointer crashes.