add 5.8, 5.10 and 5.12 to travis matrix
C: fix issue 370, protect against empty SV magic

HEf_SVKEY might store an empty SV (NULL) since 5.20 for the \0 magic with the ` symbol.