kernel/mem/lib: don't replace CFLAGS, append instead

This (once again) allows ie. -m32 build on amd64.

Signed-off-by: Jiri Jaburek <jjaburek@redhat.com>