Gateshead score a stoppage-time winner against fellow National League strugglers Braintree Town to keep their survival hopes alive.