wined3d: Make device_stream_info_from_declaration() static.