[generators] gen_airframe: don't force float if unit = code_unit
Merge branch 'v5.0' into hw-v5.0