Port some minor updates from Java
Check the low-bit of y is consistent with the header byte in hybrid EC point encodings