eal: add macro to warn for unused function return values