btrfs: Introduce btrfs_is_name_len_valid to avoid reading beyond boundary