Support labels defined inside lstinputlistings (fixes #214)