smalloc: fix style, use macro

n/t