Values were static_casted where required. Some functions in WritingModes.h were rewritten such that bitwise operations aren't being used. Added static_casts to avoid (debug) build errors from debugging printfs in layout/tables/nsCellMap.cpp. Differential Revision: https://phabricator.services.mozilla.com/D205510