Allow log functions to be called with ctx==NULL
Allow log functions to be called with ctx==NULL

This change allows functions to be used from places where there is no
sc_context (ctx) available.

LudovicRousseau/OpenSC,hhonkanen/OpenSC,gemini/OpenSC,dirkx/OpenSC,l1k/OpenSC,financeX/OpenSC,martinpaljak/OpenSC,AktivCo/OpenSC,mouse07410/OpenSC,velter/OpenSC,hongquan/OpenSC-main,nmav/OpenSC,dengert/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,mouse07410/OpenSC,ieugen/OpenSC,velter/OpenSC,ieugen/OpenSC,martinpaljak/OpenSC,UIKit0/OpenSC,kasparsd/opensc-latvia-id,hhonkanen/OpenSC,marschap/pkg-opensc,adminmt/OpenSC,fabled/OpenSC,Jakuje/OpenSC,LudovicRousseau/OpenSC,germanblanco/OpenSC,germanblanco/OpenSC,tidatida/OpenSC,aobaid/OpenSC,dirkx/OpenSC.tokend,metsma/OpenSC,aobaid/OpenSC,nmav/OpenSC,gemini/OpenSC,frankmorgner/OpenSC,jpki/OpenSC,carlhoerberg/OpenSC,carlhoerberg/OpenSC,fabled/OpenSC,carlhoerberg/OpenSC,philipWendland/OpenSC,adminmt/OpenSC,philipWendland/OpenSC,mtrojnar/OpenSC,dirkx/OpenSC.tokend,rickyepoderi/OpenSC,jpki/OpenSC,CardContact/OpenSC,gemini/OpenSC,carlhoerberg/OpenSC,nmav/OpenSC,l1k/OpenSC,dirkx/OpenSC.tokend,jpki/OpenSC,dirkx/OpenSC.tokend,aobaid/OpenSC,Jakuje/OpenSC,velter/OpenSC,marschap/pkg-opensc,adminmt/OpenSC,LudovicRousseau/OpenSC,metsma/OpenSC,viktorTarasov/OpenSC-SM,l1k/OpenSC,AktivCo/OpenSC,velter/OpenSC,financeX/OpenSC,dirkx/OpenSC,financeX/OpenSC,adminmt/OpenSC,kasparsd/opensc-latvia-id,ieugen/OpenSC,dirkx/OpenSC,frankmorgner/OpenSC,frankmorgner/OpenSC,rickyepoderi/OpenSC,dengert/OpenSC,viktorTarasov/OpenSC-SM,mouse07410/OpenSC,dirkx/OpenSC.tokend,tidatida/OpenSC,mtrojnar/OpenSC,OpenSC/OpenSC,Jakuje/OpenSC,mtrojnar/OpenSC,Jakuje/OpenSC,fabled/OpenSC,tidatida/OpenSC,ieugen/OpenSC,marschap/pkg-opensc,AktivCo/OpenSC,hongquan/OpenSC-main,kasparsd/opensc-latvia-id,financeX/OpenSC,dirkx/OpenSC,financeX/OpenSC,carlhoerberg/OpenSC,germanblanco/OpenSC,philipWendland/OpenSC,dengert/OpenSC,martinpaljak/OpenSC,fabled/OpenSC,UIKit0/OpenSC,CardContact/OpenSC,dirkx/OpenSC,UIKit0/OpenSC,tidatida/OpenSC,kasparsd/opensc-latvia-id,OpenSC/OpenSC,OpenSC/OpenSC,viktorTarasov/OpenSC-SM,ieugen/OpenSC,UIKit0/OpenSC,hhonkanen/OpenSC,hongquan/OpenSC-main,aobaid/OpenSC,dirkx/OpenSC.tokend,marschap/pkg-opensc,rickyepoderi/OpenSC,CardContact/OpenSC