SArray: copied improvements back from dubotics/robocrisp@c7e25d0
String: fixed impl. of std::hash<spt::String> for libc++ compatibility