shlwapi: Handle NULL ptr return from allocation (Coverity).