Fix NUL handling in OpenSSL.crypto.sign and OpenSSL.crypto.verify