Add build feature to guard enable speed-profile compilation for AppSearch service. Bug: 241823638 Test: `m` Test: with flag on: go/art-benchmark?p=BootImageProfileId:41874 (code size reduction by -10.82MB) Test: with flag off: go/art-benchmark?p=BootImageProfileId:41898 (no code change or metric changes) Change-Id: I5516b4992d65d056f980d6cf15d24b89e6e9ec1c