[eglib] Remove call to possibly-broken strndup.
Don't believe its lies.