fix `HexIntegerField.get_prep_value` when value is already a string

value may already be an integer so trying to create a base 16 int from
it fails