[PATCH OLK-6.6] [Backport] jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree