Fix stale-if-error to properly use the stale value for the ttl

Previously it always inferred `$stale == true` even when numeric and only added `$ttl`. This should fix this similarly to Guzzle 5's implementation to extend by the `$stale` value when it is numeric.