Update Weld.java

As jharting noted (https://github.com/weld/core/pull/444#issuecomment-31444255), adding the shutdown hook before weld is initialized would allow an NPE to be thrown from the shutdown() method if the shutdownManager had not yet be initialized.