bin/yum-printbuilddep: Handle nonexistent localpkg_gpgcheck attribute

CentOS 5 doesn't have localpkg_gpgcheck.