block: fix elvpriv allocation failure handling