metal: Fix pipeline states to use the pixel format of the current render target, instead of a hard-coded format.