signrawtransaction: validate private key.

Fix issue #5454. Validate private key is inside allowed range.