The retention of spallation products in interstellar grains