fix compiler warnings reported by Robert White

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>