A 4K restoration of Shanghai Blues by Hong Kong filmmaker Tsui Hark will screen in the Cannes Classics section at this year's festival.