Argument parsing can trigger ASTReading; needs transaction (ROOT-6625).

(cherry picked from commit 60d75ad26b6c20fd61c4b61b3da1e93159cd621e)