[PATCH 4.4 16/51] btrfs: Refactor check_leaf function for later expansion