Replaced max/min macros with ROSS_MAX and ROSS_MIN.

This is expected to break some models but it should mostly be a
simple replacement.