[PATCH 4.9 314/329] audit: return on memory error to avoid null pointer dereference