vkr: refactor vkr_dispatch_vkAllocateMemory

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1163>
1 file changed