Fix a couple unused param warnings found by clang on FreeBSD