Add dogma_get_location_effect_attributes() in dogma-extra.h.