pimd: Fix compiler warnings.