vulkan/overlay: fix truncating error on 32bit platforms