es_temp and es_copy_cstr are now static inline.

This is to facilitate compile-time optimizations for strlen on static
strings.