Alloy decomposition and surface instabilities in thin films