Endogenous borrowing constraints and consumption volatility in a small open economy