Fix bug 9065: source3/registry/regfio.c: bad call to memcpy