libgfs2: Fix null pointer dereference in linked_leaf_search
From: Bob Peterson <rpeterso@redhat.com>
Fix a null pointer dereference by checking the value of the bh set by
get_first_leaf(). Looking down the call tree the bh is set to NULL when
__bread fails to allocate memory so we can use errno as the return value
here.