[TableGen] Use result names in build() methods if possible This will make it clear which result's type we are expecting in the build() signature. PiperOrigin-RevId: 235925706