Interface Effects on the Magnetism of CoPt-Supported Nanostructures