fixed pointer errors for tests/memread_manual/kernel.