freedreno: add a fd_resource_pitch helper