cp/avian/java-net.cpp: fix segfault

In Java_java_net_InetAddress_ipv4AddressForName:
  Throw nullptrex on hostname = null.
Merge pull request #355 from lostdj/patch-1

cp/avian/java-net.cpp: fix segfault