Revert "tests: Use -fno-strict-aliasing for memtest"

This reverts commit 463536c2eea59f07f517df3a5d87b01ab39006eb.