Only include move-related Optional<T> tests when rvalue references are available.