Volatile depletion in the TW Hydrae disk atmosphere