Use BuildRuleResolver.computeIfAbsent for GoDescriptors
Use BuildRuleResolver.computeIfAbsent for GoDescriptors

Summary: Convert getRuleOptional + addToIndex to use the newly introduced BuildRuleResolver.computeIfAbsent.

Test Plan: CI

Reviewed By: dinhviethoa

fbshipit-source-id: 3ed3b38

robbertvanginkel/buck,ilya-klyuchnikov/buck,shybovycha/buck,rmaz/buck,shybovycha/buck,robbertvanginkel/buck,dsyang/buck,marcinkwiatkowski/buck,k21/buck,LegNeato/buck,rmaz/buck,zhan-xiong/buck,facebook/buck,SeleniumHQ/buck,clonetwin26/buck,rmaz/buck,romanoid/buck,dsyang/buck,SeleniumHQ/buck,ilya-klyuchnikov/buck,clonetwin26/buck,zpao/buck,zhan-xiong/buck,zhan-xiong/buck,romanoid/buck,ilya-klyuchnikov/buck,JoelMarcey/buck,robbertvanginkel/buck,shs96c/buck,romanoid/buck,clonetwin26/buck,brettwooldridge/buck,brettwooldridge/buck,kageiit/buck,marcinkwiatkowski/buck,k21/buck,k21/buck,rmaz/buck,facebook/buck,k21/buck,LegNeato/buck,nguyentruongtho/buck,dsyang/buck,romanoid/buck,k21/buck,LegNeato/buck,marcinkwiatkowski/buck,zpao/buck,SeleniumHQ/buck,JoelMarcey/buck,nguyentruongtho/buck,brettwooldridge/buck,shybovycha/buck,ilya-klyuchnikov/buck,rmaz/buck,zhan-xiong/buck,SeleniumHQ/buck,brettwooldridge/buck,dsyang/buck,zpao/buck,JoelMarcey/buck,zpao/buck,k21/buck,JoelMarcey/buck,zpao/buck,kageiit/buck,clonetwin26/buck,ilya-klyuchnikov/buck,Addepar/buck,robbertvanginkel/buck,shybovycha/buck,shybovycha/buck,zhan-xiong/buck,k21/buck,shybovycha/buck,SeleniumHQ/buck,JoelMarcey/buck,clonetwin26/buck,clonetwin26/buck,romanoid/buck,zhan-xiong/buck,rmaz/buck,brettwooldridge/buck,rmaz/buck,marcinkwiatkowski/buck,ilya-klyuchnikov/buck,rmaz/buck,facebook/buck,ilya-klyuchnikov/buck,k21/buck,shs96c/buck,zhan-xiong/buck,brettwooldridge/buck,shs96c/buck,shs96c/buck,shybovycha/buck,zhan-xiong/buck,robbertvanginkel/buck,nguyentruongtho/buck,dsyang/buck,LegNeato/buck,zhan-xiong/buck,Addepar/buck,dsyang/buck,Addepar/buck,marcinkwiatkowski/buck,shybovycha/buck,k21/buck,facebook/buck,nguyentruongtho/buck,SeleniumHQ/buck,clonetwin26/buck,JoelMarcey/buck,LegNeato/buck,k21/buck,Addepar/buck,marcinkwiatkowski/buck,shybovycha/buck,dsyang/buck,marcinkwiatkowski/buck,shybovycha/buck,facebook/buck,SeleniumHQ/buck,ilya-klyuchnikov/buck,robbertvanginkel/buck,marcinkwiatkowski/buck,kageiit/buck,LegNeato/buck,shs96c/buck,Addepar/buck,SeleniumHQ/buck,kageiit/buck,dsyang/buck,Addepar/buck,rmaz/buck,SeleniumHQ/buck,LegNeato/buck,SeleniumHQ/buck,shybovycha/buck,zpao/buck,marcinkwiatkowski/buck,kageiit/buck,shs96c/buck,dsyang/buck,clonetwin26/buck,JoelMarcey/buck,clonetwin26/buck,shs96c/buck,clonetwin26/buck,dsyang/buck,nguyentruongtho/buck,facebook/buck,shybovycha/buck,JoelMarcey/buck,robbertvanginkel/buck,brettwooldridge/buck,marcinkwiatkowski/buck,LegNeato/buck,JoelMarcey/buck,zhan-xiong/buck,k21/buck,k21/buck,dsyang/buck,Addepar/buck,ilya-klyuchnikov/buck,nguyentruongtho/buck,ilya-klyuchnikov/buck,brettwooldridge/buck,dsyang/buck,facebook/buck,brettwooldridge/buck,robbertvanginkel/buck,brettwooldridge/buck,shs96c/buck,romanoid/buck,k21/buck,SeleniumHQ/buck,dsyang/buck,marcinkwiatkowski/buck,romanoid/buck,SeleniumHQ/buck,rmaz/buck,rmaz/buck,robbertvanginkel/buck,JoelMarcey/buck,brettwooldridge/buck,romanoid/buck,Addepar/buck,LegNeato/buck,brettwooldridge/buck,LegNeato/buck,robbertvanginkel/buck,Addepar/buck,ilya-klyuchnikov/buck,shybovycha/buck,clonetwin26/buck,brettwooldridge/buck,Addepar/buck,shs96c/buck,robbertvanginkel/buck,JoelMarcey/buck,zhan-xiong/buck,Addepar/buck,rmaz/buck,zpao/buck,JoelMarcey/buck,clonetwin26/buck,robbertvanginkel/buck,kageiit/buck,zhan-xiong/buck,nguyentruongtho/buck,clonetwin26/buck,romanoid/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,shs96c/buck,shs96c/buck,LegNeato/buck,shs96c/buck,ilya-klyuchnikov/buck,romanoid/buck,rmaz/buck,Addepar/buck,Addepar/buck,SeleniumHQ/buck,kageiit/buck,romanoid/buck,marcinkwiatkowski/buck,robbertvanginkel/buck,JoelMarcey/buck,romanoid/buck,LegNeato/buck,marcinkwiatkowski/buck,LegNeato/buck,shs96c/buck,romanoid/buck