Add (u)int16_t casts to any_int_cast
Cleanup formatting.