Hashing of secp256k1 pubkey recognizes point at infinity.

Sending money to address representing point at infinity (1FYMZEHnszCHKTBdFZ2DLrUuk3dGwYKQxh) is probably not what one would want usually, but without the check the resulting address would be completely off depending on what was in memory.