Improve error handling in atoms.c
Improve error handling in atoms.c

msuvajac/yara,plusvic/yara,hillu/yara,tdr130/yara,Security513/yara,VirusTotal/yara,VirusTotal/yara,smaudet/yara,foreni-packages/yara,msuvajac/yara,frbapolkosnik/yara,mgoffin/yara,cblichmann/yara,cblichmann/yara,smaudet/yara,rayyang2000/yara,hillu/yara,Security513/yara,rednaga/yara,tdr130/yara,pombredanne/yara,jpypi/yara,plusvic/yara,foreni-packages/yara,jpypi/yara,tanium/yara,kallanreed/yara,pombredanne/yara,foreni-packages/yara,Security513/yara,rayyang2000/yara,wxsBSD/yara,VirusTotal/yara,jpypi/yara,cblichmann/yara,kallanreed/yara,jshufelt/yara,rayyang2000/yara,neatsun/yara,cblichmann/yara,neatsun/yara,wxsBSD/yara,msuvajac/yara,jshufelt/yara,rednaga/yara,bmagistro/yara,frbapolkosnik/yara,tanium/yara,pombredanne/yara,rednaga/yara,kallanreed/yara,jshufelt/yara,MeteorAdminz/yara,cblichmann/yara,tanium/yara,wxsBSD/yara,pombredanne/yara,plusvic/yara,beikezcs/yara,mgoffin/yara,tdr130/yara,hillu/yara,wxsBSD/yara,plusvic/yara,VirusTotal/yara,bmagistro/yara,mgoffin/yara,hillu/yara,mgoffin/yara,MeteorAdminz/yara,plusvic/yara,hillu/yara,bmagistro/yara,beikezcs/yara,MeteorAdminz/yara,jshufelt/yara,frbapolkosnik/yara,frbapolkosnik/yara,wxsBSD/yara,smaudet/yara,VirusTotal/yara,pombredanne/yara,smaudet/yara,beikezcs/yara,neatsun/yara