Rename function-like macros to lower case

There are already some function-like macros that are named in lower
case, so for consistency, rename the rest to lower case as well.