freebsd32: semid_t -> int32_t
semid_t is historically an intptr_t so it should be an int32_t.
Reviewed by: kevans