[PATCH 4.4 28/51] btrfs: validate type when reading a chunk