pkcs11-spy: Fix attribute displaying crash in case pTemplate=NULL
pkcs11-spy: Fix attribute displaying crash in case pTemplate=NULL

In real world pTemplate=NULL case is only used by PKCS#11 test suites but
no need to crash them.

Signed-off-by: Vesa Jääskeläinen <c21de456f054a9471d2d3d678e43c3b3541fa479@vaisala.com>

dengert/OpenSC,LudovicRousseau/OpenSC,metsma/OpenSC,metsma/OpenSC,LudovicRousseau/OpenSC,fabled/OpenSC,mouse07410/OpenSC,fabled/OpenSC,philipWendland/OpenSC,LudovicRousseau/OpenSC,metsma/OpenSC,dengert/OpenSC,dengert/OpenSC,fabled/OpenSC,mouse07410/OpenSC,philipWendland/OpenSC,OpenSC/OpenSC,OpenSC/OpenSC,OpenSC/OpenSC,fabled/OpenSC,mouse07410/OpenSC,philipWendland/OpenSC