Speculative build fix for const, gcc, and ArrayRef overloads