fix for issue #1834, handle NULL pointer return value from r_bin_java_read_next_attr_from_buffer()