I am not aware of an OSM based map for Garmin devices that is made for trucks, in other words, probably tags like maxheight are simply ignored. You can create your own map using mkgmap and that would allow to ignore those roads so that an alternative route is calculated.
If you have an OSM based map from Garmin you should ask Garmin for support.