Influence of structural instabilities on the spontaneous magnetization of amorphous ferromagnets