fixed bug in ecc_fp.dart

`BigInteger.toByteArray()` doesn't seem to return a `Uint8List`. So it needs to be converted.

How thoroughly has ECDSA been tested? I'm currently writing some tests for Dartcoin, so a bug in cipher could make me waste a lot of time.