opensc-explorer: consolidate string/hexdata parsing
opensc-explorer: consolidate string/hexdata parsing

* add new function parse_string_or_hexdata() that parses
  a double-quoted string or a hex-data string (e.g: AA:BB:CC)
  into a buffer
* use parse_string_or_hexdata() wherever strings or hexdata
  gets parsed into a buffer

Signed-off-by: Peter Marschall <4b8373d016f277527198385ba72fda0feb5da015@adpm.de>

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