[pacman-dev] [PATCH] Add REALLOC macro to simplify realloc error handling