cpu/stm32: fix logical bug when getting l0/g0 CPU_CORE
cpu/stm32: fix logical bug when getting l0/g0 CPU_CORE

kaspar030/RIOT,kYc0o/RIOT,jasonatran/RIOT,kaspar030/RIOT,RIOT-OS/RIOT,OTAkeys/RIOT,authmillenon/RIOT,OlegHahm/RIOT,OTAkeys/RIOT,jasonatran/RIOT,kYc0o/RIOT,OlegHahm/RIOT,jasonatran/RIOT,RIOT-OS/RIOT,miri64/RIOT,miri64/RIOT,OlegHahm/RIOT,jasonatran/RIOT,miri64/RIOT,miri64/RIOT,jasonatran/RIOT,authmillenon/RIOT,kYc0o/RIOT,kaspar030/RIOT,kYc0o/RIOT,authmillenon/RIOT,OlegHahm/RIOT,OTAkeys/RIOT,kYc0o/RIOT,authmillenon/RIOT,OTAkeys/RIOT,ant9000/RIOT,OlegHahm/RIOT,RIOT-OS/RIOT,kaspar030/RIOT,RIOT-OS/RIOT,kaspar030/RIOT,ant9000/RIOT,OTAkeys/RIOT,miri64/RIOT,ant9000/RIOT,authmillenon/RIOT,RIOT-OS/RIOT,ant9000/RIOT,ant9000/RIOT,authmillenon/RIOT