pidl: Change PIDL to correctly use and validate python integer types