[PATCH 4.9 065/101] btrfs: validate type when reading a chunk