Update RealmProxyClassGenerator.java

Setting relationship to null throws NullPointerException, because setter method does not exit where it should, trying to access null value instead.