jbd: Fix assertion failure in commit code due to lacking transaction credits