libstd/x86[_64]: Optimize further memset() and memcpy()

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
libstd/arm: Optimize memset()

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>