rmdec: Check memory allocations from ff_rm_alloc_rmstream()