Reduced dine-in traffic is eating away at bottom lines, forcing eateries to rethink how they borrow money.