configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h