hwcontext_vulkan: use correct return value for allocation failure