Naomi Osaka withdraws ahead of semi-final