BR3392646: output/outobj.c: fix memory corruption in long object names
BR3392646: output/outobj.c: fix memory corruption in long object names

When we encode a name we put its length before it, the
storage is one byte width so the name can't be more
than UINT8_MAX (ie 255) bytes length.

Moreover if one provide a name more than RECORD_MAX then
we simply overwrite random memory.

Thus lets do as in other obj_check calls -- shrink the
size we gonna use. But unlike oter code lets yield a
warning as well.

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@gmail.com>

techkey/nasm,techkey/nasm,techkey/nasm,techkey/nasm,techkey/nasm