GPIO compile fail fix

load_hw_routes did not load the required hardware settings into variables in the workspace,
just into a struct. Logic now runs through the struct and converts the fields into variables
in the workspace. Tested with compiles.