HTTP/2, fix crash in handling stream weights