China has criticized the U.S. over murder charges against former Cuban leader Raul Castro, urging Washington to stop using sanctions and legal action against Havana.