The former was trying to do the same as the latter, but the latter has more robust and portable implementations, and it's the standard across the tree, so replace and remove px_memset().