lavapipe: image subresource fix
This fixes the val_GetImageSubresourceLayout to return correct values and pass CTS tests.
It changes this to use the resource get param API but that API has no miplevel support, so first up this modifies the API to take a miplevel parameter, and accept an layer stride parameter.
Edited by Dave Airlie