I wouldn't be surprised if there's no way at all to enable that, and even if there was, it would only really give a false sense of security.
IBSS has never been that well-adopted of a feature, so Apple has never invested much effort in making it great. They left in the ability to enable WEP all this time, even though it provides a false sense of security since WEP was irreparably cracked more than a decade ago.
Implementing WPA or WPA2 for IBSS is tricky because IBSS is fully peer-to-peer (and not just point-to-point, but with any number of peers in the IBSS network), so every node has to act as supplicant and authenticator with the other nodes, and keep track of per-link keys for communication with all the other nodes, since there's no central AP to authenticate everyone. Apple never implemented this, and I wouldn't be surprised if almost no one else ever did either.
Apple probably decided as of Yosemite that providing the false sense of security of WEP was worse than providing no security at all, so they dropped support.