Backport https://github.com/go-gitea/gitea/pull/40377
The web repo search response embedded the whole commit status model
although the dashboard only uses its state and target URL. It now
returns just those two fields.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>