Add rounddown2() macro similar to the roundup2() macro.

(cherry picked from commit 7ea6c49b3385486613bed5ff6bbbbc4e0df9af2f)