Btrfs: cleanup to make the function btrfs_delalloc_reserve_metadata more logic