New Mexico St. outlast Texas State 78-67