[PATCH] advapi32: Return on failed allocation (Coverity)