jbd2: Add barrier not supported test to journal_wait_on_commit_record