Fixes issue when generating pub key.

https://github.com/spesmilo/sx/issues/12

If the pub key y or x value starts with 00, it is ignored, leaving with a 31 byte value instead of 32