[librm] Make rm_sp and rm_ss globals again