amd/common: rework set_userdata_location() and rename to set_loc()