settings: Add support for hex integers (0x prefix) via get_int()