allow default NULL basename in vips_type_find()

oops, got dropped in earlier commit, thanks Lovell