Fix Elasticsearch blob results linking to the wrong reference ID
If Elasticsearch returned a hit for a blob, clicking on the link would always return a 404 since the OID, not the commit SHA, was being used.
This seems important to fix for 8.5.
/cc: @rymai