IOIOLib: Fix resource manager checking

The ResourceManager would silently ignore allocation failures if the
claimed resource was passed in an array.