Update util.c

Moved qmemcpy to boot.S
Moved byte_swap to util.c