OFSecureData: Add support for preallocating memory

This is useful to allocate secure memory before enabling a sandbox that
does not allow it anymore.