Update ReflectMjAPI.java to remove potential NPE

Removed a potential NPE (this can occur when a class contains a null mjBattery object)
While I have not encountered this in vanilla buildcraft, this has been a problem for my own block extender (offer the mjBattery field down the line, this has to be null if there is no tile entity down the line)