makebootable: remove outdated "compatibility" options.

Fixes #3779.
Removed dead code (CID: 1255314)
Removed unsigned comparison to zero (CID: 611234)
Removed implicit conversion to int32 (CID: 1251478)