[x265/f40] Update to 3.6