hwconfig: Utilize getenv_f before relocation to allow for larger buffer