Closed #5832: fixed a bug of RenderTexture that it doesn't support depthStencilFormat

Fixed a bug of RenderTexture that it doesn't support depthStencilFormat